共用方式為


CToolBarCtrl::SetInsertMarkColor

Sets the color used to draw the insertion mark for the toolbar.

COLORREF SetInsertMarkColor( 
   COLORREF clrNew  
);

Parameters

  • clrNew
    A COLORREF value that contains the new insertion mark color.

Return Value

A COLORREF value that contains the previous insertion mark color.

Remarks

This member function implements the behavior of the Win32 message TB_SETINSERTMARKCOLOR, as described in the Windows SDK.

Requirements

Header: afxcmn.h

See Also

Reference

CToolBarCtrl Class

Hierarchy Chart

CToolBarCtrl::GetInsertMarkColor