TVGETITEMPARTRECTINFO structure (commctrl.h)
Contains information for identifying the "hit zone" for a specified part of a tree item. The structure is used with the TVM_GETITEMPARTRECT message and the TreeView_GetItemPartRect macro.
Syntax
typedef struct tagTVGETITEMPARTRECTINFO {
HTREEITEM hti;
RECT *prc;
TVITEMPART partID;
} TVGETITEMPARTRECTINFO;
Members
hti
Type: HTREEITEM
Handle to the parent item.
prc
Type: RECT*
Pointer to a RECT structure to receive the coordinates of the bounding rectangle. The sender of the message (the caller) is responsible for allocating this structure.
partID
Type: TVITEMPART
ID of the item part. This value must be TVGIPR_BUTTON (0x0001).
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Header | commctrl.h |