please dont rip this site Prev Next

TV_HITTESTINFO info  Overview  Group

The TV_HITTESTINFO structure contains information used to determine the location of a point relative to a tree-view control.

typedef struct _TVHITTESTINFO {  tvhtst 

    POINT     pt; 

    UINT      flags; 

    HTREEITEM hItem; 

} TV_HITTESTINFO, FAR *LPTV_HITTESTINFO; 

 

Members

pt
Client coordinates of point to test.
flags
Variable that receives information about the results of a hit test. This member can be one or more of the following values:

Value

Meaning

TVHT_ABOVE

Above the client area

TVHT_BELOW

Below the client area

TVHT_NOWHERE

In the client area, but below the last item

TVHT_ONITEM

On the bitmap or label associated with an item

TVHT_ONITEMBUTTON

On the button associated with an item

TVHT_ONITEMICON

On the bitmap associated with an item

TVHT_ONITEMINDENT

In the indentation associated with an item

TVHT_ONITEMLABEL

On the label (string) associated with an item

TVHT_ONITEMRIGHT

In the area to the right of an item

TVHT_ONITEMSTATEICON

On the state icon for a tree-view item that is in a user-defined state

TVHT_TOLEFT

To the right of the client area

TVHT_TORIGHT

To the left of the client area

hItem
Handle to the item that occupies the point.

Remarks

This structure is used with the TVM_HITTEST message.

See Also

TVM_HITTEST 


file: /Techref/os/win/api/win32/struc/src/str22_8.htm, 3KB, , updated: 2000/4/7 11:20, local time: 2024/11/29 22:26,
TOP NEW HELP FIND: 
18.116.40.151:LOG IN

 ©2024 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://techref.massmind.org/Techref/os/win/api/win32/struc/src/str22_8.htm"> TV_HITTESTINFO</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?

 

Welcome to massmind.org!

 

Welcome to techref.massmind.org!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .