newdialog.h

来自「EVC4.0开发的国际象棋的元代码」· C头文件 代码 · 共 21 行

H
21
字号
/****************************************************
Author: S. Senthil kumar
Class Name: NewDialog
Purpose:    Displays the New Game dialog box

******************************************************/

class NewDialog:public CDialog
{
int color; //To store selected side (WHITE OR BLACK)
int level; //To store level selected
public:
	NewDialog(int n);			//Constructor
	int OnInitDialog();			//Message
	int GetSelectedColor();		//Returns Selected Color
	int GetSelectedLevel();		//Returns Selected Level
	void Ok();					//Called when user clicks OK
	DECLARE_MESSAGE_MAP();
};

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?