?? optionsdialog.h
字號:
/****************************************************
Author: S. Senthil kumar
Class Name: OptionsDialog
Purpose: Displays the options dialog
******************************************************/
class OptionsDialog:public CDialog
{
CString tempdir; //Stores default directory
CListBox *combo; //to display levels available
int whitesquare; //to store color of white square
int blacksquare; // to store color of black square
int whitecolorchanged; // Boolean variable to find whether user changed white color
int blackcolorchanged; //Boolean variable to find whether user changed black color
public:
OptionsDialog(int n); //Constructor
void OnOK(); //When user clicks OK
void OnCancel(); //When user clicks Cancel
int OnInitDialog(); //Message
void OnEnableSound(); //When user enables sound
void ShowOpen(); //Shows the file dialog box and get selected directory
//void DoDataExchange(CDataExchange *pdx);
void ShowColorDialog(int id);//Shows the color dialog for changing board color
void RestoreDefaults(); //When user clicks Restore Defaults.
DECLARE_MESSAGE_MAP();
};
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -