📄 dialogscale.h
字号:
#if !defined(AFX_DIALOGSCALE_H__51EC7001_B5EB_11D6_BBB3_5254AB281610__INCLUDED_)
#define AFX_DIALOGSCALE_H__51EC7001_B5EB_11D6_BBB3_5254AB281610__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DialogScale.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CDialogScale dialog
class CDialogScale : public CDialog
{
// Construction
public:
float GetScale();
void SetScale(float scale);
CDialogScale(CWnd* pParent = NULL); // standard constructor
float m_fScaleUser;
// Dialog Data
//{{AFX_DATA(CDialogScale)
enum { IDD = IDD_DIALOG_SCALE };
CSpinButtonCtrl m_spinScale;
float m_fScale;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDialogScale)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual void PostNcDestroy();
//}}AFX_VIRTUAL
// Implementation
protected:
CWnd* m_pParent;
// Generated message map functions
//{{AFX_MSG(CDialogScale)
virtual BOOL OnInitDialog();
afx_msg void OnDestroy();
afx_msg void OnDeltaposSpinScale(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnChangeEdit1();
virtual void OnOK();
virtual void OnCancel();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DIALOGSCALE_H__51EC7001_B5EB_11D6_BBB3_5254AB281610__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -