Поделиться через


CToolBarCtrl::GetColorScheme

Retrieves the color scheme of the current toolbar control.

BOOL GetColorScheme(
          COLORSCHEME* lpColorScheme
) const;

Параметры

Parameter

Description

[out] lpColorScheme

Pointer to a COLORSCHEME structure that receives the color scheme information. When this method returns, the structure describes the highlight color and shadow color of the toolbar control.

Возвращаемое значение

true if this method is successful; otherwise, false.

Заметки

This method sends the TB_GETCOLORSCHEME message, which is described in the Windows SDK. 

Требования

Header: afxcmn.h

См. также

Основные понятия

CToolBarCtrl Class

CToolBarCtrl Members

Hierarchy Chart

TB_GETCOLORSCHEME

COLORSCHEME

CToolBarCtrl::SetColorScheme