www.pudn.com > ButtonDemo.rar > ButtonDemoDlg.h
// ButtonDemoDlg.h : header file
//
#if !defined(AFX_BUTTONDEMODLG_H__B135130B_F4DD_483A_AE3E_C07DAFD1B1D7__INCLUDED_)
#define AFX_BUTTONDEMODLG_H__B135130B_F4DD_483A_AE3E_C07DAFD1B1D7__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CButtonDemoDlg dialog
#include "XPButton.h"
class CButtonDemoDlg : public CDialog
{
// Construction
public:
CThemeHelper m_ThemeHelper;
CBrush m_BackgroundBrush;
CButtonDemoDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CButtonDemoDlg)
enum { IDD = IDD_BUTTONDEMO_DIALOG };
CXPButton m_OK;
CXPButton m_Cancel;
CXPButton m_Button2;
CXPButton m_Button3;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CButtonDemoDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CButtonDemoDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_BUTTONDEMODLG_H__B135130B_F4DD_483A_AE3E_C07DAFD1B1D7__INCLUDED_)