次の方法で共有


CMFCColorMenuButton::GetAutomaticColor

現在の自動設定の色を取得します。

COLORREF GetAutomaticColor() const;

戻り値

現在の自動設定の色を示す RGB カラー値。

解説

このメソッドを呼び出して、CMFCColorMenuButton::EnableAutomaticButton によって設定された自動設定の色を取得します。

必要条件

**ヘッダー:**afxcolormenubutton.h

参照

参照

CMFCColorMenuButton クラス

階層図

COLORREF