?? shududlg.h
字號:
// ShuDuDlg.h : header file
//
#if !defined(AFX_SHUDUDLG_H__5F89BB59_47DC_4122_96F3_BAA7A1F15EF0__INCLUDED_)
#define AFX_SHUDUDLG_H__5F89BB59_47DC_4122_96F3_BAA7A1F15EF0__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CShuDuDlg dialog
#include "ShuDuCtrl.h"
class CShuDuDlg : public CDialog
{
// Construction
public:
CShuDuDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CShuDuDlg)
enum { IDD = IDD_SHUDU_DIALOG };
CEdit m_Note;
CButton m_ShowSelNumBtn;
CButton m_LevelNormalBtn;
CButton m_LevelHardBtn;
CButton m_StartBtn;
CButton m_SaveBtn;
CButton m_RestartBtn;
CButton m_MainRect;
CButton m_OptionRect;
CButton m_LevelEasyBtn;
CButton m_ExitBtn;
CButton m_ShowTrackBtn;
CButton m_ShowNumBtn;
CButton m_LevelRect;
CButton m_UndoBtn;
CShuDuCtrl m_sdCtrl;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CShuDuDlg)
public:
virtual BOOL PreTranslateMessage(MSG* pMsg);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
int m_GameData[9][9];
void CreateGameData();
int CurrentLevel;
// Generated message map functions
//{{AFX_MSG(CShuDuDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnStartnewgame();
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
afx_msg void OnUndo();
afx_msg void OnSavegame();
afx_msg void OnRestart();
afx_msg void OnLevelnormal();
afx_msg void OnLevelhard();
afx_msg void OnLeveleasy();
afx_msg void OnExit();
afx_msg void OnDisplaytrack();
afx_msg void OnDisplaynum();
afx_msg void OnShowselnum();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SHUDUDLG_H__5F89BB59_47DC_4122_96F3_BAA7A1F15EF0__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -