Professional UI Solutions
Site Map   /  Register
 
 

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.

Forums » Prof-UIS Tech Support » Control on dialog is always displayed in Native XP Theme, Why? Collapse All
Subject Author Date
Francesco Toscano May 29, 2007 - 8:03 AM

I have a problem with some controls such buttons (Ok and Cancel) on a CExtResizableDialog.

I have developed a SDI application that use the theme "CExtPaintManagerOffice2007_R2_LunaBlue" and everithing works fine. I have added to the project a CDialog class derived from CExtResizableDialog with some controls. The dialog it is displayed with the selected theme but the controls in the dialog are not displayed according the Paint Theme used. Why? I mine that the buttons controls are displayed as normally with white background color (Native xp Theme). For example I would like to show the control as you do with the sample Project "AdoRecordsetView" with dilaog "CAdoQueryForm".

I know that’s my fault... but what I missed???

Francesco.

Francesco Toscano May 29, 2007 - 9:17 AM

Please .... forget my question, I find the answer to my problem. I missed to subclass the control button to "CExtButton".

Sorry!

Francesco