Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29487 Discussions

Dialog style different in Built Application than in Resource Editor

acar
Beginner
1,189 Views
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.
0 Kudos
2 Replies
IanH
Honored Contributor III
1,189 Views
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.
0 Kudos
acar
Beginner
1,189 Views
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.
0 Kudos
Reply