📄 pictur~2.h
字号:
// PictureGameDlg.h : header file
//
#if !defined(AFX_PICTUREGAMEDLG_H__38019A6C_244E_4A50_BAA5_30866C66829E__INCLUDED_)
#define AFX_PICTUREGAMEDLG_H__38019A6C_244E_4A50_BAA5_30866C66829E__INCLUDED_
#include"math.h"
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CPictureGameDlg dialog
class CPictureGameDlg : public CDialog
{
// Construction
public:
void OnRun(UINT nBitmapID,UINT nMenuID);
void OnBegin();
void SetPos();
BOOL IsWin();
void SetImage();
void ShowItem();
void SetPre();
UINT MapRand(UINT nMax);
void Rnd();
void MoveImage(int num);
CMenu*pMainMenu;
CMenu *pSubMenu;
int Height, Width;
int count;
BOOL IsHelp;
int x, y;
CString TimeCon;
CStatic m_Image[16];
HBITMAP hBitmap;
CStatusBarCtrl m_wndstatusBar;
BOOL Easy,IsRnd,CanCount;
BOOL IsLong,Advan,Style3d;
CPictureGameDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CPictureGameDlg)
enum { IDD = IDD_PICTUREGAME_DIALOG };
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CPictureGameDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
CBitmap bitmap;
// Generated message map functions
//{{AFX_MSG(CPictureGameDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnPicture1();
afx_msg void OnPicture2();
afx_msg void OnPicture4();
afx_msg void OnPicture3();
afx_msg void OnOwner();
afx_msg void OnEasy();
afx_msg void OnHard();
afx_msg void On3d();
afx_msg void OnFlat();
afx_msg void OnStatic1();
afx_msg void OnStatic10();
afx_msg void OnStatic11();
afx_msg void OnStatic12();
afx_msg void OnStatic13();
afx_msg void OnStatic14();
afx_msg void OnStatic15();
afx_msg void OnStatic16();
afx_msg void OnStatic2();
afx_msg void OnStatic3();
afx_msg void OnStatic4();
afx_msg void OnStatic5();
afx_msg void OnStatic6();
afx_msg void OnStatic7();
afx_msg void OnStatic8();
afx_msg void OnStatic9();
afx_msg void OnForHelp();
afx_msg void OnTimer(UINT nIDEvent);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_PICTUREGAMEDLG_H__38019A6C_244E_4A50_BAA5_30866C66829E__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -