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 12 February 2002, 11:39 AM
  #1  
Crispin
Scooby Regular
Thread Starter
 
Crispin's Avatar
 
Join Date: Jan 2001
Posts: 534
Likes: 0
Received 0 Likes on 0 Posts
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.....

Old 12 February 2002, 12:16 PM
  #2  
Crispin
Scooby Regular
Thread Starter
 
Crispin's Avatar
 
Join Date: Jan 2001
Posts: 534
Likes: 0
Received 0 Likes on 0 Posts
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
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
JimBowen
ICE
5
02 July 2023 01:54 PM
KAS35RSTI
Subaru
27
04 November 2021 07:12 PM
Abx
Subaru
22
09 January 2016 05:42 PM
Mattybr5@MB Developments
Full Cars Breaking For Spares
12
18 November 2015 07:03 AM
Ganz1983
Subaru
5
02 October 2015 09:22 AM



Quick Reply: C++ Common controls guru.........



All times are GMT +1. The time now is 03:43 PM.