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 |
|
deimos
|
Apr 25, 2003 - 12:47 AM
|
Shadows from an icons in system menus too dark. For the decision of this problem in function " void CExtPaintManagerXP:: PaintSysCmdGlyph " of a file "ExtPaintManager.cpp" find the following fragment of a code.
if( bHover & (!bPushed) ) { ColorValues[1] = GetColor( COLOR_3DDKSHADOW ); PaintGlyphCentered( dc, _rcItem, *g_DockingCaptionGlyphs[eGlyph], ColorValues ); _rcItem.OffsetRect(-1,-1); }
Also replace it with this.
if( bHover & (!bPushed) ) { ColorValues[1] = GetColor( COLOR_3DSHADOW ); PaintGlyphCentered( dc, _rcItem, *g_DockingCaptionGlyphs[eGlyph], ColorValues ); _rcItem.OffsetRect(-2,-2); }
Now the system menu looks little bit more beautifully.:-)
|
|
Sergiy Lavrynenko
|
Apr 26, 2003 - 4:02 AM
|
Hi, I agree with your advice. Thank you.
|
|