📄 window.h
字号:
#ifndef __Window
#define __Window
#include <windows.h>
#include <commctrl.h>
#include <tchar.h>
#include <stdio.h>
#include "Struct.h"
inline void chSETDLGICONS(HWND hwnd, int idi) {
SendMessage(hwnd, WM_SETICON, TRUE, (LPARAM)
LoadIcon((HINSTANCE) GetWindowLong(hwnd, GWL_HINSTANCE),
MAKEINTRESOURCE(idi)));
SendMessage(hwnd, WM_SETICON, FALSE, (LPARAM)
LoadIcon((HINSTANCE) GetWindowLong(hwnd, GWL_HINSTANCE),
MAKEINTRESOURCE(idi)));
}
#define _UNICODE
bool InitFonts(HFONT hFonts[]);
void SetWndPosition(HWND hWnd);
bool WINAPI GB2BIG(char *pszSrc);
void DeleteFonts(HFONT hFonts[]);
void InitVersionTable(HWND hwndVersionTable);
bool __stdcall GB2BIGW(unsigned short *szSrc);
void FormatText(char *szSrc, char *szDest, HWND hWnd, int iWordWidth);
void DrawBmptoRect(RECT rectDest, const HDC hdcDest, HBITMAP hbmpOrigin);
void DrawBmpButton(LPDRAWITEMSTRUCT lpDIS, HBITMAP hbmpUnselected, HBITMAP hbmpSelected);
void FormatTextW(unsigned short *szSrc, unsigned short *szDest, HWND hWnd, int iWordWidth);
inline void chSETDLGICONS(HWND hwnd, int idi);
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -