Does anyone know how to get that blue selection rectangle that is in the
windows explorer Listview control. In my listview controls it is just a
dotted focused rectangle.

Etan Bukiet

Re: XP Themed Selection Rectangle for Listview Control by christopherebailey

christopherebailey
Thu Dec 02 20:14:39 CST 2004

"Etan Bukiet" <ebukiet@comcast.net> wrote in message news:<O1XqqE81EHA.3816@TK2MSFTNGP09.phx.gbl>...
> Does anyone know how to get that blue selection rectangle that is in the
> windows explorer Listview control. In my listview controls it is just a
> dotted focused rectangle.
>
> Etan Bukiet

I was trying to get XP style controls as well and found these
resources. I'm not sure if it's exactly the same issue though:

MSDN Link:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechart/html/vbtchUsingWindowsXPVisualStylesWithControlsOnWindowsForms.asp
(http://tinylink.com/?MWD2quuuai)

Code Project Link:
http://www.codeproject.com/csharp/dotnetvisualstyles.asp

I hope that helps,

Christopher