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 » CExtScrollBar Collapse All
Subject Author Date
Dusan Milanov Jul 12, 2007 - 7:23 AM


I am having trouble with the CExtScrollBar scrollbars. I can’t get them to have Windows XP look, that is - to be blue, not Win95 3D gray. I tried this in my project, and although all other scrollbars were standard winXP ones, the CExtScrollBar were not.

I downloaded the TestGraph and test_scroll_wnd samples, and the scrollbars are gray there too. BUT, in the AdoRecordsetView sample they do draw in the winXP style.

I tried different Prof-UIS themes, with no success.

Any ideas?

Thank you for any assistance you may give, this is driving me crazy for several hours now...

Dusan Milanov

Dusan Milanov Jul 13, 2007 - 7:28 AM

Thank you, this solved all the problems!!!

Technical Support Jul 12, 2007 - 10:21 AM

Please add the manifest resource to your project by adding manually the following lines to the .rc2 file of in your project.

#if (!defined PROF_UIS_X64) && (!defined PROF_UIS_IA64) && (!defined PROF_UIS_FORCE_NO_MANIFEST)
      IDR_MANIFEST 24 DISCARDABLE "res\\manifest_x86.xml"
Then you should create the manifest_x86.xml file in the same folder with the .rc2 file and with the following content:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> 
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<description>Prof-UIS Sample Application</description>
If you are using Visual Studio 2005, you should enable manifest embedding in the settings of your project and specify the manifest_x86.xml file in the list of additional manifest files.

Although all the Prof-UIS samples have manifests, not all the test and sample projects referred in our forums have manifests. That explains the difference between the applications you are talking about.