📄 dialog.h
字号:
//
// Framework (dialog)
//
// Copyright (c) 2000-2001 Chihiro.SAKAMOTO (HyperWorks)
//
#ifndef __dialog_h__
#define __dialog_h__
//
// Dialog class
//
class CDialog {
public:
CDialog(): hDlg(0) {}
int DoModal(UINT idRes, HWND hParent);
HWND DoModeless(UINT idRes, HWND hParent);
BOOL IsDialogMessage(LPMSG lpmsg);
LONG SendDlgItemMessage(int nIDDlgItem, UINT Msg, WPARAM wParam=0, LPARAM lParam=0);
BOOL CheckRadioButton(int nIDFirstButton, int nIDLastButton, int nIDCheckButton);
void Show(BOOL flag);
HWND GetDlgItem(int id);
BOOL SetDlgItemText(int id, const char *str);
void CenterWindow();
protected:
static BOOL CALLBACK _DlgProc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
virtual BOOL DlgProc(UINT uMsg, WPARAM wParam, LPARAM lParam);
protected:
HWND hDlg;
} ;
// inlineΘ
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -