Groups | Blog | Home
all groups > vb.net controls > february 2004 >

vb.net controls : XP style for datagrid control???


cutleriti NO[at]SPAM hotmail.com
2/17/2004 11:38:27 AM
To use Common Controls V6 (the XP-looking controls) you must add a
manifest to your project that allows for ComCtl32.dll version 6 if
it's available. Check out these 2 links:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwxp/html/xptheming.asp

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/commctls/userex/cookbook.asp

Paul M
2/17/2004 4:19:19 PM
hi there,

can anyone help out on this one? i have a datagrid control that has
checkboxes, for my boolean fields, but it draws as the non-xp style
checkboxes..

How can i get this control to draw in the XP style?

thanks,
Paul.

hirf-spam-me-here NO[at]SPAM gmx.at
2/17/2004 7:01:28 PM
* "Paul M" <milsnips@hotmail.com> scripsit:
[quoted text, click to view]

<http://dotnet.leadit.be/extendeddatagrid/>

--
Herfried K. Wagner [MVP]
Paul M
2/18/2004 11:06:52 AM
Thanks for the reply.

As i am creating using VS.NET2003, and am in XP Pro O/S, i have set the code
to be:
"Application.EnableVisualStyles", which converts the controls to XP style,
and all works fine, it is just for this one control that i'm wanting to get
it to XP style.

thanks,
Paul.
[quoted text, click to view]

AddThis Social Bookmark Button