|
|
|
|
Forum
Please
Log In
to post a new message or reply to an existing one. If you are not registered, please
register.
NOTE: Some forums may be read-only if you are not currently subscribed to
our technical support services.
Subject |
Author |
Date |
|
Xiaoli Bi
|
Aug 30, 2007 - 9:56 AM
|
|
|
Xiaoli Bi
|
Aug 30, 2007 - 10:51 PM
|
After debug again and again, I find the reason of the issue.
Below is defined in Windows SDK #if (_WIN32_IE >= 0x0400) //----- New flags for wizard97 ----------- #if (_WIN32_IE < 0x0500) #define PSH_WIZARD97 0x00002000 #else #define PSH_WIZARD97 0x01000000 #endif
In my project (VS2005 MFC Extension DLL), the _WIN32_IE is 0x0600, so the PSH_WIZARD97 = 0x01000000 In Prof-UIS Project, ExtResizableDialog.cpp file if( (m_psh.dwFlags&(PSH_WIZARD97)) == (PSH_WIZARD97) ) It seem the PSH_WIZARD97 = 0x00002000, so the title will not be draw.
I think you can replace it with if( (m_psh.dwFlags&(0x00002000)) == (0x00002000) || (m_psh.dwFlags&(0x01000000)) == (0x01000000)) to get better compatibility.
Good luck! :)
|
|
Xiaoli Bi
|
Aug 30, 2007 - 7:00 PM
|
I almost copy whole codes of your propertysheet example. It works in exe project but failed in my MFC extension DLL project.
By the way, is there a example to use resizable dialog to use the wizard mode?
|
|
Technical Support
|
Aug 30, 2007 - 1:00 PM
|
We believe it’s possible to change the internal initialization sequences in the resizable property sheet and page windows to make them working in your project, but this will definitively not be working in both our sample applications and other existing customer applications. It’s strongly recommended to switch to using a resizable dialog with a tab page container inside and insert other child resizable dialogs into it as tab pages. This construction will be better skinned/themed and working stable.
|
|