NSTCCUSTOMDRAW structure (shobjidl.h)
Custom draw structure used by INameSpaceTreeControlCustomDraw methods.
Syntax
typedef struct NSTCCUSTOMDRAW {
IShellItem *psi;
UINT uItemState;
NSTCITEMSTATE nstcis;
LPCWSTR pszText;
int iImage;
HIMAGELIST himl;
int iLevel;
int iIndent;
} NSTCCUSTOMDRAW;
Members
psi
Type: IShellItem*
A pointer to a Shell item.
uItemState
Type: UINT
The current item state. See NMCUSTOMDRAW for more detail.
nstcis
Type: NSTCITEMSTATE
The state of a tree item. See NSTCITEMSTATE.
pszText
Type: LPCWSTR
A pointer to a null-terminated Unicode string that contains the item text, if the structure specifies item attributes.
iImage
Type: int
The index in the tree-view control's image list.
himl
Type: HIMAGELIST
A handle to an image list.
iLevel
Type: int
The zero-based level of the item being drawn.
iIndent
Type: int
A tree-level indent.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Header | shobjidl.h |