Discussion:
OpenThemeData
(too old to reply)
AF
2010-03-26 19:45:31 UTC
Permalink
Raw Message
I would like to recreate the blue gradient fill Windows 7 uses to highlight
the current selection in explorer. I develop using VS 2008 under Windows 7,
I am assuming I will have to open a theme handle via OpenThemeData but am
unsure what theme class to use. The "ThemeExplorer" project at
codeproject.com enumerates all the theme classes and display the associated
rendered effect and non of them gave the gradient explorer uses in Windows
7, any help would be great.

A.
Leo Davidson
2010-03-27 08:06:55 UTC
Permalink
Raw Message
Post by AF
I would like to recreate the blue gradient fill Windows 7 uses to highlight
the current selection in explorer. I develop using VS 2008 under Windows 7,
This thread should help you. It's about drawing the non-selected focus-
rect (which is undocumented) but it also talks about how to draw the
selection-rect (which is documented) that I think you're after:

http://groups.google.co.uk/group/microsoft.public.platformsdk.shell/browse_thread/thread/c8a837b7518d88ba/8612380588ae7022

TinyURL version in case the long URL above is broken:

http://preview.tinyurl.com/yd5ea97

Loading...