#if !defined(AFX_GZRIGHTSBUTTON_H__159836E2_1460_11D4_964F_00C0F02C4B69__INCLUDED_) #define AFX_GZRIGHTSBUTTON_H__159836E2_1460_11D4_964F_00C0F02C4B69__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // gzRightsButton.h : header file // ///////////////////////////////////////////////////////////////////////////// // CgzRightsButton window class CgzRightsButton : public CButton { // Construction public: CgzRightsButton(); // Attributes public: // Operations public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CgzRightsButton) public: virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct); protected: virtual void PreSubclassWindow(); //}}AFX_VIRTUAL // Implementation public: bool IsChanged(); bool m_bModified; void Get(CString* str); void Set(CString state, bool initialize); LOGFONT m_lf; CFont m_font; void DoesReadOnly(bool ro); int Get(); void Set(int state, bool initialize); virtual ~CgzRightsButton(); private: bool m_bCanReadOnly; int m_nState; int m_nInitialState; // Generated message map functions protected: //{{AFX_MSG(CgzRightsButton) afx_msg void OnClicked(); afx_msg void OnDoubleclicked(); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_GZRIGHTSBUTTON_H__159836E2_1460_11D4_964F_00C0F02C4B69__INCLUDED_)