?? mydialog.h
字號:
/****************************************************
Author: S. Senthil kumar
Class Name: mydialog
Purpose: To display the dialog box during pawn promotion
******************************************************/
class mydialog:public CDialog
{
CFont chessfont; //Font for displaying pieces
CButton pieces[5],groupbox; //Buttons to display pieces.
CButton ok; //OK Button
int selectedval; //To identify piece selected to promote pawn
public:
mydialog(int n); //Constructor
int OnInitDialog(); //Message
void Ok(); //When user clicks OK
int GetSelected(); //Returns selected piece
DECLARE_MESSAGE_MAP();
};
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -