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 General Discussion » menu subitem background color change instead of orange - CExtPaintManagerOffice2007_R3_Obsidian Collapse All
Subject Author Date
karhong karhong Dec 30, 2008 - 6:59 PM

Dear technical support,


I’m using CExtPaintManagerOffice2007_R3_Obsidian which i created a virtual method InitTranslatedColors()


I had been looking towards these 3 enums... which i’m not able to find where is it to change the background color when the mouse hover towards the menu subitem. The default color for R3_Obsidian is orange and i wanted to change to other color.


The 3 enums I’ve  tried were


e_xp_colors_t


e_2003_colors_t


e_translated_colors_t


 


Can you give me some hint towards my problem?


 


Regards,


KH

karhong karhong Dec 30, 2008 - 7:47 PM

Dear technical support,


Now i realise that, if i use CExtPaintManagerOffice2003 as a theme, i’m able to change the background color for submenu item when my mouse hover towards it by using these:


m_mapColorTranslate[CLR_3DFACE_OUT] = InstallColor( RGB(69,139,116) );

m_mapColorTranslate[CLR_3DFACE_IN] = InstallColor( RGB(69,139,116) );

m_mapColorTranslate[CLR_3DFACE_DISABLED] = InstallColor( RGB(69,139,116) );


 


But if i used CExtPaintManagerOffice2007_R3_Obsidian, it wont change the color of it.


Any other method for me to change the color?


I’m using CExtPaintManagerOffice2007_R3_Obsidian instead of CExtPaintManagerOffice2003 was because i wanted the color of the menubar text to be white. I’ve tried using CExtPaintManagerOffice2003, I’m able to change the text of submenu item, but not able to change the color of the menubar text.


 


Thanks,


KH