Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

C++ Common controls guru.........

Thread Tools
 
Search this Thread
 
Old Feb 12, 2002 | 11:39 AM
  #1  
Crispin's Avatar
Crispin
Thread Starter
Scooby Regular
 
Joined: Jan 2001
Posts: 534
Likes: 0
Post

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

Reply
Old Feb 12, 2002 | 12:16 PM
  #2  
Crispin's Avatar
Crispin
Thread Starter
Scooby Regular
 
Joined: Jan 2001
Posts: 534
Likes: 0
Post

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
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
JimBowen
ICE
5
Jul 2, 2023 01:54 PM
KAS35RSTI
Subaru
27
Nov 4, 2021 07:12 PM
Abx
Subaru
22
Jan 9, 2016 05:42 PM
Mattybr5@MB Developments
Full Cars Breaking For Spares
12
Nov 18, 2015 07:03 AM
Ganz1983
Subaru
5
Oct 2, 2015 09:22 AM




All times are GMT +1. The time now is 02:41 AM.