📄 drawdlg.h
字号:
// DrawDlg.h : header file
//
#if !defined(AFX_DRAWDLG_H__B4EFECDF_E174_458E_991A_B3BB7FD2A502__INCLUDED_)
#define AFX_DRAWDLG_H__B4EFECDF_E174_458E_991A_B3BB7FD2A502__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CDrawDlg dialog
class CDrawDlg : public CDialog
{
// Construction
public:
int m_crShape;
COLORREF m_crBrushColor;
COLORREF m_crPenColor;
int m_nBrushStyle;
int m_nPenStyle;
CDrawDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CDrawDlg)
enum { IDD = IDD_DRAW_DIALOG };
CButton m_SolidBrush;
CButton m_Solid;
CComboBox m_Shape;
CComboBox m_Brush;
CComboBox m_Pen;
CButton m_Draw;
CButton m_Exit;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDrawDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CDrawDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnExitButton();
afx_msg void OnDashRadio();
afx_msg void OnDashdotRadio();
afx_msg void OnDotRadio();
afx_msg void OnSolidRadio();
afx_msg void OnSolidbrushRadio();
afx_msg void OnCrossRadio();
afx_msg void OnFdRadio();
afx_msg void OnBdRadio();
afx_msg void OnSelendokBrushCombo();
afx_msg void OnSelendokPenCombo();
afx_msg void OnSelendokShapeCombo();
afx_msg void OnDrawButton();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DRAWDLG_H__B4EFECDF_E174_458E_991A_B3BB7FD2A502__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -