btndlg.h
来自「MFC编程实例」· C头文件 代码 · 共 47 行
H
47 行
#include "MButton.h"
class CBtnDlg : public CDialog
{
public:
CBtnDlg(CWnd* pParent = NULL);
void SetCheckBitmap(UINT);
void SetRadioBitmap();
//{{AFX_DATA(CBtnDlg)
enum { IDD = IDD_BTN_DIALOG };
//}}AFX_DATA
//{{AFX_VIRTUAL(CBtnDlg)
public:
protected:
virtual void DoDataExchange(CDataExchange* pDX);
//}}AFX_VIRTUAL
protected:
HICON m_hIcon;
MCBitmapButton m_btnPlay;
MCBitmapButton m_btnPlayPos;
MCSenButton m_btnBmp[4];
CBitmapButton m_btnCheck;
CBitmapButton m_btnRadioA;
CBitmapButton m_btnRadioB;
CBitmap m_bmpCheck;
CBitmap m_bmpUnCheck;
BOOL m_bBmpCheck;
UINT m_uBmpRadio;
int m_nCurrentActive;
CRect m_rectBtnPos[4];
//{{AFX_MSG(CBtnDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnCheck();
afx_msg void OnRadioA();
afx_msg void OnRadioB();
afx_msg void OnBmpCheck();
afx_msg void OnBmpRadioA();
afx_msg void OnBmpRadioB();
//}}AFX_MSG
afx_msg LONG OnBtnPos(UINT, LONG);
DECLARE_MESSAGE_MAP()
};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?