📄 convertdemodlg.h
字号:
//////////////////////////////////////////////////////////////////////////////
//类名:CConvertDemoDlg
//功能:多种进制转换组件示例程序(客户端)
//作者:徐景周(jingzhou_xu@163.net)
//组织:未来工作室(Future Studio)
//日期:2003.1.1
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_CONVERTDEMODLG_H__A63EDEC6_1FEC_11D7_AA35_FAC1BBD3F60A__INCLUDED_)
#define AFX_CONVERTDEMODLG_H__A63EDEC6_1FEC_11D7_AA35_FAC1BBD3F60A__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "HoverEdit.h" // 加入XP风格编辑框
#include "XPButton.h" // 加入XP风格按钮
#include "HyperLink.h" // 加入超链接类
#include "PictureEx.h" // 加入GIF动态图像显示
/////////////////////////////////////////////////////////////////////////////
// CConvertDemoDlg dialog
class CConvertDemoDlg : public CDialog
{
// Construction
public:
CConvertDemoDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CConvertDemoDlg)
enum { IDD = IDD_CONVERTDEMO_DIALOG };
CXPButton m_About;
CHoverEdit m_OutputEdit;
CHoverEdit m_InputEdit;
CXPButton m_Convert;
CXPButton m_Exit;
CString m_InputNum;
CString m_OutputResult;
int m_Input;
int m_Output;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CConvertDemoDlg)
public:
virtual BOOL DestroyWindow();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CConvertDemoDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
virtual void OnOK();
afx_msg void OnAbout();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CONVERTDEMODLG_H__A63EDEC6_1FEC_11D7_AA35_FAC1BBD3F60A__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -