- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've built dialogs in the VS resource editor where the have the modern windows style with a three-dimensional look. However, when the application is built the dialogs seem to have an old 'flat' style - see attached file. I've played about with the settings for the dialogs in the resource editor without any success. Perhaps there is a global parameter that need setting somewhere? Thanks, ACAR.
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Most likely this is because you are missing a manifest that specifies that your application wants the newer version of the common controls library - see here. You also need to call InitCommonControls[Ex], if you are not already doing so.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've done as required; create a special manifest for my application copied directly from the example, added it the source structure of my application, added the CREATEPROCESS.... line to my resource file and made a call to initcommoncontrolsex at beginning of my application. In this call I have tried setting ICC_WIN95_CLASSES and there was no noticable change to the way the dialogs looked when I ran the application. I also tried ICC_STANDARD_CLASSES but this won't compile as this parameter is not defined. The other options seem to compile but don't appear relevent to my dialog issue. There seems plenty of people on the www who have had problems with this but I can't find a solution. I wonder Ian if you could expand a little on how you called InitCommonControlsEX? MAny thanks for your help. ACAR.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page