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 |
|
Jia Hong Li
|
Mar 5, 2007 - 12:49 AM
|
How can I custom my own dialog theme like the ABOUT Dialog in the sample code? That means when I click CExtThemeSwitcherToolControlBar item, not only change form style but also change all dialog which I made. Thanks. Peace.ˆ.ˆ
|
|
Technical Support
|
Mar 5, 2007 - 11:20 AM
|
If you look at the declaration of CExtResizableDialog , you will see that its parent classes are wrapped in templates. One of these templates is CExtWS , which adds a theme-based background to a resizable dialog window. The skinned non-client area is provided by the CExtNCW template. So to make your dialog consistent with Prof-UIS themes, replace CDialog base class with CExtNCW < CExtResizableDialog > .
|
|
Jia Hong Li
|
Mar 8, 2007 - 8:37 PM
|
Thanks...I can custom my own dialog theme now, and thanks a lot. ˆ.ˆ
|
|