Possible Duplicate:
How to get Windows native look for the .NET TreeView?
I'm wondering if it is possible to style my Windows Forms treeview using the Vista / Windows 7 style when available. If it is running in older versions of windows then I would expect the regular treeview style to be used.
Is this possible using a manifest or will it require more detailed customization or the use of a 开发者_如何学Pythonthird party control?
Thanks, Alan
Use SetWindowTheme:
SetWindowTheme(treeView.Handle, "EXPLORER", NULL);
精彩评论