ScoobyNet.com - Subaru Enthusiast Forum

ScoobyNet.com - Subaru Enthusiast Forum (https://www.scoobynet.com/)
-   Computer & Technology Related (https://www.scoobynet.com/computer-and-technology-related-34/)
-   -   C++ Common controls guru......... (https://www.scoobynet.com/computer-and-technology-related-34/71836-c-common-controls-guru.html)

Crispin 12 February 2002 11:39 AM

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.....


Crispin 12 February 2002 12:16 PM

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


All times are GMT +1. The time now is 04:29 AM.


© 2024 MH Sub I, LLC dba Internet Brands