#pragma once #include "common.h" class C256ColorDialog : public CDialog { DECLARE_MESSAGE_MAP() public: C256ColorDialog(CWnd *pParentWnd); virtual int DoModal(); protected: virtual void DoDataExchange(CDataExchange *pDX); virtual void OnOK(); virtual void OnCancel(); void Save(); CButton mButton; };