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 Tech Support » Border of Prof-UI Common Controls Collapse All
Subject Author Date
Juerg Flamm May 23, 2007 - 5:16 AM

I have to extend an old VC6 MFC Application with some new dialogs. Is it possible to use the extended functionality of Prof-UI but controls look like Standard Controls? In particular how can I draw a border around the controls permanently, not only if the control got the focus or mouse is over?

Technical Support May 23, 2007 - 7:38 AM

You should simply apply the native UI theme so that all the controls and windows can be drawn consistently with the currently applied desktop theme on any Windows OS:

g_PaintManager.InstallPaintManager( RUNTIME_CLASS( CExtPaintManagerNativeXP ) );
You can invoke this line of code during application startup.