📄 setdlg.h
字号:
#if !defined(AFX_SETDLG_H__D745FE6A_F526_4C5E_85CA_DA24A785E254__INCLUDED_)
#define AFX_SETDLG_H__D745FE6A_F526_4C5E_85CA_DA24A785E254__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SetDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CSetDlg dialog
#include "Define.h"
class CSetDlg : public CDialog
{
// Construction
public:
CSetDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CSetDlg)
enum { IDD = IDD_SET };
CComboBox m_comboDrawLSort;
CButton m_btnOK;
CButton m_btnCancel;
long m_lPenColor;
int m_iPenWidth;
long m_lBkColor;
long m_lFillColor;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSetDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
public:
int GetPenWidth(){return m_iPenWidth;};
long GetPenColor(){return m_lPenColor;};
long GetBkColor(){return m_lBkColor;};
long GetFillColor(){return m_lFillColor;};
DRAWLINESORT GetDrawLSort(){return m_dlsDrawLSort;};
// Implementation
protected:
CBitmap m_bitmapOk,m_bitmapCancel;
HICON m_hIcon;
DRAWLINESORT m_dlsDrawLSort;
// Generated message map functions
//{{AFX_MSG(CSetDlg)
virtual BOOL OnInitDialog();
afx_msg void OnBtnPencolor();
virtual void OnOK();
afx_msg void OnBtnBkcolor();
afx_msg void OnBtnFillcolor();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SETDLG_H__D745FE6A_F526_4C5E_85CA_DA24A785E254__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -