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 » Using theme's scroller Collapse All
Subject Author Date
Ferdz B Jun 15, 2006 - 10:07 AM

I noticed that the PropertyGrid would nicely adjust/redraw the scroll bar according to paint manager’s theme.

How do I make my other controls (e.g. tree ctrl, or CExtGridWnd-derived control) do the same? Do we have helper template to do it ?

Thanks

Technical Support Jun 15, 2006 - 12:20 PM

Any skinned scroll bar is a CExtScrollBar window. It is possible to use it with any CExtScrollWnd derived class as you can see it in our samples. You can use the CExtGridWnd and CExtTreeGridWnd controls instead of standard list views and tree views. The AdoRecordsetView sample application demonstrates how to use the extended scroll bar controls inside the grid window. We also plan to add support for skinned non-client areas that look like toolbars.