次の方法で共有


CMFCPropertyGridColorProperty::EnableAutomaticButton

更新 : 2007 年 11 月

色を選択するためのダイアログ ボックスの自動ボタンを有効にします (標準の自動ボタンのラベルは [自動] です)。

void EnableAutomaticButton(
   LPCTSTR lpszLabel,
   COLORREF colorAutomatic,
   BOOL bEnable=TRUE 
);

パラメータ

  • [入力] lpszLabel
    自動ボタンのラベル テキスト。

  • [入力] colorAutomatic
    自動ボタンの (既定の) 色の RGB カラー値。

  • [入力] bEnable
    自動ボタンを有効にする場合は TRUE。それ以外の場合は FALSE。既定値は TRUE です。

必要条件

ヘッダー : afxpropertygridctrl.h

参照

概念

MFC 階層図

参照

CMFCPropertyGridColorProperty クラス

COLORREF