共用方式為


CMFCToolBar::GetHotTextColor

Returns the text color of the highlighted toolbar buttons.

static COLORREF GetHotTextColor();

Return Value

A COLORREF value that represent the current highlighted text color.

Remarks

Call CMFCToolBar::SetHotTextColor to set a new text color for highlighted toolbar buttons.

Requirements

Header: afxtoolbar.h

See Also

Reference

CMFCToolBar Class

Hierarchy Chart