Contains information specific to an NM_CUSTOMDRAW (tree view) notification message sent by a tree-view control.
Syntax
typedef struct tagNMTVCUSTOMDRAW { NMCUSTOMDRAW nmcd; COLORREF clrText; COLORREF clrTextBk; #if (_WIN32_IE >= 0x0400) int iLevel; #endif } NMTVCUSTOMDRAW, *LPNMTVCUSTOMDRAW;
Members
nmcdNMCUSTOMDRAW structure that contains general custom draw information. clrTextCOLORREF value representing the color that will be used to display text foreground in the list-view control. clrTextBkCOLORREF value representing the color that will be used to display text background in the list-view control. iLevelVersion 4.71. Zero-based level of the item being drawn. The root item is at level zero, a child of the root item is at level one, and so on.
Structure Information
Minimum DLL Versioncomctl32.dll version 4.70 or laterHeadercommctrl.hMinimum operating systems Windows 2000, Windows NT 4.0 with Internet Explorer 3.0, Windows 98, Windows 95 with Internet Explorer 3.0