📄 window.h
字号:
#include <windows.h>
#include <commctrl.h>
#include <commdlg.h>
class CWindow
{
protected:
WNDCLASS WndClass;
HWND hWnd;
int nHeight, nWidth;
HDC hMainWndDC;
public:
CWindow(LPSTR, WNDPROC, HINSTANCE, HICON, HCURSOR, LPSTR, HBRUSH, UINT);
~CWindow();
HWND Create(LPSTR, DWORD, int, int, int, int, HMENU, LPVOID);
inline HWND GetWindow() {return hWnd;};
int GetFile(HWND, char*, char*, bool);
void RePaint();
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -