📄 init.h
字号:
/*****************************************************************************
THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
PARTICULAR PURPOSE.
This is "Sample Code" and is distributable subject to the terms of the end user license agreement.
****************************************************************************/
//
// functions in init.cpp
//
BOOL CALLBACK MainWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam);
HWND AreWeRunning(PCTSTR szClassName);
BOOL InitInstance (int CmdShow, LPTSTR szWindowName, LPTSTR szClassName);
ATOM MyRegisterClass(LPTSTR szClassName);
//
// globals in init.cpp
//
extern HINSTANCE g_hinst;
extern HWND g_hwnd;
extern HWND g_hwndCB;
extern BOOL g_bHibernated;
//
// definitions
//
#define ID_APPBUTTON 0x1234
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -