Driver property page dll not using themed controls in

Hi

I’m currently writing a property page dll which appears as a tab page in the
properties dialog for our company’s hardware. This tab page is loaded by the
standard windows property dialog for a hardware item in device manager.

The dll is being loaded successfully and the tab page is inserted into the
dialog, however all controls on the page are rendered using the unthemed
style and look out of place when running under Vista. All other tab pages in
this dialog are using modern styling so it must be a problem with our dll.

Can anyone tell me how to get our page to appear with the new controls please?

cheers

James

Your DLL needs to support common control V 6.0 to get themes (also Active accessibility). Easiest way to do this (IMO) for a property page DLL is add a manifest resource [as opposed to a separate manifest file].

Check MSDN articles on supporting themes. I use this method in the WdfVerifier WDK tool.

The following article should be a good starting point- it’s one of several I read back when I created my manifest in the first place…

http://msdn.microsoft.com/en-us/library/bb773175(VS.85).aspx

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@hotmail.com
Sent: Wednesday, January 28, 2009 4:57 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Driver property page dll not using themed controls in

Hi

I’m currently writing a property page dll which appears as a tab page in the
properties dialog for our company’s hardware. This tab page is loaded by the
standard windows property dialog for a hardware item in device manager.

The dll is being loaded successfully and the tab page is inserted into the
dialog, however all controls on the page are rendered using the unthemed
style and look out of place when running under Vista. All other tab pages in
this dialog are using modern styling so it must be a problem with our dll.

Can anyone tell me how to get our page to appear with the new controls please?

cheers

James

Bob

That’s great - thanks for the help!

cheers

James

Did you include a manifest in your .dll requesting comctl 6?

? S

-----Original Message-----
From: xxxxx@hotmail.com
Sent: Wednesday, January 28, 2009 04:57
To: Windows System Software Devs Interest List
Subject: [ntdev] Driver property page dll not using themed controls in

Hi

I’m currently writing a property page dll which appears as a tab page in the
properties dialog for our company’s hardware. This tab page is loaded by the
standard windows property dialog for a hardware item in device manager.

The dll is being loaded successfully and the tab page is inserted into the
dialog, however all controls on the page are rendered using the unthemed
style and look out of place when running under Vista. All other tab pages in
this dialog are using modern styling so it must be a problem with our dll.

Can anyone tell me how to get our page to appear with the new controls please?

cheers

James


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer