Hi.
When I was use the ListView, i want to skin this control. I searched many sources and i found the solution. This solution based on the NickThissen's "ListView Options screen" code. Here you can find it: http://www.vbforums.com/showthread.php?p=3385557
The Code
PreviewCode:'// Call Interop Services Imports System.Runtime.InteropServices '// Enable Vista Theming for ListView <DllImport("uxtheme", CharSet:=CharSet.Unicode)> _ Public Shared Function SetWindowTheme(ByVal hWnd As IntPtr, ByVal textSubAppName As String, ByVal textSubIdList As String) As Integer End Function '// Add This Code to Form_Load (ListView1, enter your listview control name) SetWindowTheme(ListView1.Handle, "explorer", Nothing)
![]()




Reply With Quote