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 » CExtPropertyGridCtrl with a VC6 style scoll. Collapse All
Subject Author Date
Fietiger Kisinger Nov 22, 2008 - 1:41 AM


I have got another question about the CExtPropertyGridCtrl . My  PropertyGridCtrl derives from CExtPropertyGridCtrl.In my first application every thing is OK.And in my second application my  PropertyGridCtrl  with a VC6 style scoll. I did not modify any code of the  my  PropertyGridCtrl .

Could you tell me why and how to get it fixed?

Technical Support Nov 25, 2008 - 12:37 PM

The manifest resource is required if your application uses the CExtPaintManagerNativeXP paint manager and you want to see skinned scroll bars when it runs on Windows XP or Windows Vista with themed desktop settings. The manifest is not required for skinning Prof-UIS controls in all the other cases. Please try to setup the CExtPaintManagerOffice2007_R1 paint manager in your application and let us know whether the scroll bars inside the property grid control are themed? The CExtPaintManagerOffice2007_R1 paint manager, other 2007 paint managers and the CExtPaintManagerSkin paint manager draw scroll bars using bitmap-based skin data. The CExtPaintManagerNativeXP paint manager draws scroll bars using UxTheme.DLL functions. Other paint managers draw scroll bars using GDI functions. We need to know whether the scroll bars are skinned at least under some of paint managers? We also need to know more details about your application. Where the property grid control is created in it? Which kind of window is property grid’s parent? … parent of this parent … and so on up to main window.

Fietiger Kisinger Nov 26, 2008 - 12:38 AM

Yes.The scoll is themed well when I change the PaintManager to CExtPaintManagerOffice2007_R1.The original Paintmanager was CExtPaintManagerOffice2003.The problem show up when I change back again.

Technical Support Nov 26, 2008 - 10:53 AM

The CExtPaintManagerOffice2003 class does not support scroll bar skinning. It paints scroll bars similar to those in Windows 95/98/NT4/2000 or themed scroll bars like Windows XP/Vista. The XP/Vista scroll bars style is used by the CExtPaintManagerOffice2003 class if your application has manifest resource. Please copy the ...\Prof-UIS\Samples\SDI\res\manifest_x86.xml file into the res subfolder of your project and add the following line of code into the .rc2 file of your project:

1 24 DISCARDABLE "res\\manifest_x86.xml"

Fietiger Kisinger Nov 27, 2008 - 10:00 PM

OK.Now eveything is Ok.Thank You so much!

Fietiger Kisinger Nov 25, 2008 - 2:38 AM

I used VC++ 6.0 to compile my project.The same problem did not happen in other applications.Even in my another application it did not happen.And I have no manifest resource.

Technical Support Nov 24, 2008 - 10:43 AM

Which Visual C++ version was used for compiling your project? Did you see the same problem in the PropertyGrid, CompoundProperties and SynchronizedGrids sample applications? Whether your project has manifest resource?