TreeView_SetInsertMarkColor macro (commctrl.h)

Sets the color used to draw the insertion mark for the tree view. You can use this macro or send the TVM_SETINSERTMARKCOLOR message explicitly.

Syntax

COLORREF TreeView_SetInsertMarkColor(
   HWND     hwnd,
   COLORREF clr
);

Parameters

hwnd

Type: HWND

Handle to a tree-view control.

clr

Type: COLORREF

COLORREF value that contains the new insertion mark color.

Return value

Type: COLORREF

Returns a COLORREF value that contains the previous insertion mark color.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header commctrl.h

See also

TreeView_GetInsertMarkColor