[Code] ListView dan TreeView gaya Windows Vista / Windows 7   Leave a comment

Private Declare Function SetWindowTheme Lib "uxtheme.dll" (ByVal hwnd As Long, ByVal pszSubAppName As Long, ByVal pszSubIdList As Long) As Long

Private Sub Form_Load()
    Call SetWindowTheme(ListView1.hwnd, StrPtr("explorer"), 0)
    Call SetWindowTheme(TreeView1.hwnd, StrPtr("explorer"), 0)
End Sub

Keterengan:
Microsoft Windows Common Controls 5.0
API-ucListView 1.0
API-ucTreeView 1.3

Ketentuan:
Manifest

Advertisement

Posted February 12, 2011 by cakcaknaplok in Visual Basic 6

Tagged with , ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.