please dont rip this site Prev Next

TV_DISPINFO info  Overview  Group

The TV_DISPINFO structure retrieves and sets information about a tree-view item.

typedef struct _TV_DISPINFO {  tvdi 

    NMHDR   hdr; 

    TV_ITEM item; 

} TV_DISPINFO; 

 

Members

hdr
Specifies a NMHDR structure, which enables a tree-view control to pass a pointer to a TV_DISPINFO structure as the lParam parameter of a WM_NOTIFY message.
item
Specifies a TV_ITEM structure that identifies and contains information about the tree-view item. The mask member of the TV_ITEM structure specifies which information is being set or retrieved; it can be one or more of the following values:

Value

Meaning

TVIF_CHILDREN

The cChildren member specifies, or is to receive, a value that indicates whether the item has child items.

TVIF_IMAGE

The iImage member specifies, or is to receive, the index of the itemís non-selected icon in the image list.

TVIF_SELECTEDIMAGE

The iSelectedImage member specifies, or is to receive, the index of the itemís selected icon in the image list.

TVIF_TEXT

The pszText member specifies the new item text or the pointer to a buffer that is to receive the item text.

If the structure is receiving item text, you typically copy the text to the buffer pointed to by the pszText member of the TV_ITEM structure. However, you can return a string in the pszText member instead. If you do so, you cannot change or delete the string until the corresponding item text is deleted or until two additional TVN_GETDISPINFO notification messages have been sent.

Remarks

A pointer to a TV_DISPINFO structure is passed as the lParam parameter when a tree-view control sends a WM_NOTIFY message with the TVN_GETDISPINFO and TVN_SETDISPINFO notification codes. A tree-view control sends these notifications in the following situations in which the parent window of the control stores information about a tree-view item:

See Also

NMHDR, TV_ITEM, TVN_GETDISPINFO, TVN_SETDISPINFO, WM_NOTIFY 

See also:


file: /Techref/os/win/api/win32/struc/src/str22_7.htm, 4KB, , updated: 2000/4/7 12:20, local time: 2022/5/21 21:29,
TOP NEW HELP FIND: 
35.170.82.159:LOG IN

 ©2022 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://www.piclist.com/techref/os/win/api/win32/struc/src/str22_7.htm"> TV_DISPINFO</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

  PICList 2022 contributors:
o List host: MIT, Site host massmind.org, Top posters @20220521
* Page Editors: James Newton, David Cary, and YOU!
* Roman Black of Black Robotics donates from sales of Linistep stepper controller kits.
* Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters.
* Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated!
* Contributors: Richard Seriani, Sr.
 

Welcome to www.piclist.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .