Go4Expert

Go4Expert (http://www.go4expert.com/)
-   MFC (http://www.go4expert.com/forums/mfc/)
-   -   How to add an icon to the property sheet header in MFC? (http://www.go4expert.com/forums/add-icon-property-sheet-header-mfc-t30180/)

sivavuyyuru 15Jul2014 13:23

How to add an icon to the property sheet header in MFC?
 
Hi,

At present I am designing a property sheet of (PSH_WIZARD97 style),as we all know that a property sheet of that style consists of header.Here exactly my problem arises.I tried placing an bitmap on to the property sheet header and it worked :pleased: .Now I have to place an icon at right top corner of the property sheet header where I have already loaded bitmap .Now ,this icon should be placed on the bitmap and background of that icon should be transparent so that it looks good.

And these are the flags i had set :

Code: MFC

//In property sheet constructor
m_psh.dwFlags |= PSH_WIZARD97|PSH_STRETCHWATERMARK|PSH_HEADER;

//In propertypage

m_psp.dwFlags |= PSP_DEFAULT;


I got struct how to place that icon on the bitmap which on the property sheet header.

Can anyone please let me know how can i achieve this.


Thanks in advance.


All times are GMT +5.5. The time now is 04:45.