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 |
|
Herve Dumont
|
Jul 17, 2007 - 10:09 AM
|
Context: A Dialog derived from CExtNCW<CDialog> a CExtGridWnd is embedded in the dialogue. Check boxes and others controls from the grid are correctly painted with the paint manager meanwhile the column headers is always painted in grey. Question: how to indicate the header should be painted with the correct theme colour. I’m using Office 2007 themes.
|
|
Technical Support
|
Jul 17, 2007 - 12:04 PM
|
You should apply the __EGWS_EX_PM_COLORS grid style in this way: m_wndGrid.SiwModifyStyleEx( __EGWS_EX_PM_COLORS ); When it is applied, the grid window is painted using the Paint Manager’s color scheme, the default system colors otherwise.
|
|
Herve Dumont
|
Jul 19, 2007 - 9:08 AM
|
It works perfect now. Thanks
|
|