CMFCRibbonColorButton::EnableAutomaticButton
指定 自动 按钮是否启用。
void EnableAutomaticButton(
LPCTSTR lpszLabel,
COLORREF colorAutomatic,
BOOL bEnable=TRUE,
LPCTSTR lpszToolTip=NULL,
BOOL bOnTop=TRUE,
BOOL bDrawBorder=FALSE
);
参数
[in] lpszLabel
自动 按钮的标签。[in] colorAutomatic
指定 自动 按钮的默认颜色的RGB值。[in] bEnable
TRUE,如果 自动 按钮均处于启用状态; FALSE,则禁用。[in] lpszToolTip
自动 按钮的工具提示。[in] bOnTop
在调色板前面指定 自动 按钮是否位于顶部。[in] bDrawBorder
TRUE,如果应用程序在功能区颜色按钮的设置为有色人种的、周围绘制边框。 为有色人种的可显示当前选定的颜色。 FALSE,如果应用程序不还会
要求
标头: afxribboncolorbutton.h