Property sheet dialog back ground using Manifest 
Author Message
 Property sheet dialog back ground using Manifest

Hi,

I have the following.

a) A DLL that has a function Display() that displays a property sheet.
b) In the PROPSHEETPAGE structure dwFlags = PSP_USETITLE |
PSP_USECALLBACK.
c) In the callback for the property sheet's dialog, I handle only
WM_INITDIALOG and dutifully pass the other messages to DefWindowProc.
Also I call DefWindowProc after doing my set of processing for
WM_INITDIALOG
d) The function Display() launches the sheet using PropertySheet()
call

I have a standalone application that invokes this Display() function
from my DLL.  This application by itself uses Property Sheets using
MFC CPropertySheet for displaying other sceens.

I have compiled and linked both the dll and the application using
latest SDK includes and libraries.  I have defined a Manfiest for the
.exe that mandates it to use CommCtrl version 6 and included the
Manifest in the resources for the application.  After all this I see
the following problem.
- All Property sheets the app creates using CPropertySheet (ie MFC
stuff) come up fine with the XP theme color background (Whitish)
showing up correctly.

- The property sheet that the application brings up via my DLL(where
my DLL uses PropertySheet() call) comes up with only the tab having
the XP theme color showing.  The rest of the dialog box has the old
Grey color.  However the OK, Cancel and Apply buttons have the Theme
enabled!

Would appreiciate very much if anyone can tell me what I have done
wrong with my DLL.

Thanks in advance
Raja.



Thu, 15 Sep 2005 20:00:30 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. property sheet wizard - using Help button to throw modal dialog and not use .HLP

2. Property Sheet within a Property Sheet

3. Property sheet from property sheet

4. Q: Property sheet within a property sheet

5. back ground process

6. EditBox Back Ground Color.

7. EditBox Back Ground Color.

8. Back ground of Static Text box

9. Change Back ground color of an an edit box derived Active X control

10. Show hour glass for time consuming operation executing in a back ground thread

11. change back ground color

12. Changing back ground colour of and edit control

 

 
Powered by phpBB® Forum Software