C++ Common controls guru.........
#1
It's a long shot, but I saw some C++ on here a while ago.....
NMTREEVIEW Notification, I need to translate the following line to VB...
tv.itemOld.lParam = GetItemData( hOldItem );
I cant find a definition for the GetItemData Macro anywhere.....the rest i'm ok with.....if I just knew what it returned i'd be able to get to it i'm sure but MSDN is a tad vague.....
NMTREEVIEW Notification, I need to translate the following line to VB...
tv.itemOld.lParam = GetItemData( hOldItem );
I cant find a definition for the GetItemData Macro anywhere.....the rest i'm ok with.....if I just knew what it returned i'd be able to get to it i'm sure but MSDN is a tad vague.....
#2
s'ok - found out how.....
for those who are remotely interested.....
Public Function GetTVItemlParam(hwndTV As Long, hItem As Long) As Long
Dim tvi As TVITEM
tvi.mask = TVIF_PARAM
tvi.hItem = hItem
If TreeView_GetItem(hwndTV, tvi) Then
GetTVItemlParam = tvi.lParam
End If
End Function
for those who are remotely interested.....
Public Function GetTVItemlParam(hwndTV As Long, hItem As Long) As Long
Dim tvi As TVITEM
tvi.mask = TVIF_PARAM
tvi.hItem = hItem
If TreeView_GetItem(hwndTV, tvi) Then
GetTVItemlParam = tvi.lParam
End If
End Function
Thread
Thread Starter
Forum
Replies
Last Post
Mattybr5@MB Developments
Full Cars Breaking For Spares
12
18 November 2015 07:03 AM