xingyu~1.h
来自「vc++游戏编程导学源码。漂亮的界面」· C头文件 代码 · 共 62 行
H
62 行
// XingyunDlg.h : header file
//
#if !defined(AFX_XINGYUNDLG_H__047454C6_2EC7_11D5_BDF0_0000E8345549__INCLUDED_)
#define AFX_XINGYUNDLG_H__047454C6_2EC7_11D5_BDF0_0000E8345549__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CXingyunDlg dialog
class CXingyunDlg : public CDialog
{
private: // User declarations
CString cmmdty[10]; //用于保存商品名称
int CurrentCommodityIndex;//用于表示当前商品的序号
int price[10]; //用于保存各种商品的价格
// Construction
public:
CBitmap Bitmap[10];
CXingyunDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CXingyunDlg)
enum { IDD = IDD_XINGYUN_DIALOG };
CStatic m_Pic_Control;
CButton m_OK;
CButton m_CANCEL;
CButton m_BUTTON1;
CString m_STATIC1;
int m_EDIT1;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CXingyunDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CXingyunDlg)
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnButton1();
virtual void OnOK();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_XINGYUNDLG_H__047454C6_2EC7_11D5_BDF0_0000E8345549__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?