News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

weird problem with dialog

Started by Slugsnack, July 11, 2009, 12:43:44 PM

Previous topic - Next topic

dedndave

i found an example that seems to work
scroll to the bottom of this thread...
http://www.gamedev.net/community/forums/topic.asp?topic_id=291520

Jimg

Quote from: akane on July 12, 2009, 02:23:40 PM
Hello, on XP you MUST call at least InitCommonControls, if your using commctl 6 manifest. I'm surprised that above XP it is working without this call.

It's good form to do so, and I tried it with and without it.

It's only actually required if no other program has already done so.

Also, it doesn't have to actually be executed, just appear somewhere in the code.  A very strange thing.

And microsoft says:
QuoteUnder Comctl32.dll version 6.0 and later, InitCommonControls does nothing. Applications must explicitly register all common controls through InitCommonControlsEx.

Slugsnack

it works perfect once i call InitCommonControls. thanks all !