Professional UI Solutions
Site Map   /  Register


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 » CExtProgressWnd Collapse All
Subject Author Date
Simp S Sep 9, 2009 - 4:13 AM


I am using Progress Control derived from CExtProgressWnd.It works fine.

My question is how can I change the color with gradient effects. By default its foreground color is green.


Technical Support Sep 10, 2009 - 2:37 AM

The CExtProgressWnd control paints itself via the paint manager. There are no pre-defined colors. The CExtPaintManager paint manager draws the progress manually using classic windows colors. The CExtPaintManagerNativeXP paint manager draws the progress through Windows XP / Vista / 7 theming APIs provided by the UxTheme.DLL module. The Office 2007 and XML skin paint manager draws the progress using the bitmap based skin elements and XML based skin painting rules. If you need to draw some custom progress, you should implement progress painting from scratch.