lib.h
来自「www工具包」· C头文件 代码 · 共 32 行
H
32 行
// data structurestypedef struct { HFONT hFont ; LOGFONT logFont ; DWORD rgbFGColor ; } FontInfo_t;// macros ( for easier readability )#ifdef _WIN32#define GETHINST(x) ((HINSTANCE)GetWindowLong(x, GWL_HINSTANCE))#else#define GETHINST(x) ((HINSTANCE) GetWindowWord(x, GWW_HINSTANCE))#endif#define SET_PROP( x, y, z ) SetProp( x, MAKEINTATOM( y ), z )#define GET_PROP( x, y ) GetProp( x, MAKEINTATOM( y ) )#define REMOVE_PROP( x, y ) RemoveProp( x, MAKEINTATOM( y ) )// CRT mappings to NT API#define _fmemset memset#define _fmemmove memmove//Lib_int NEAR Lib_FindStringInTable(HINSTANCE hInstance, char* lookFor, int startId, WORD wTableLen);int NEAR Font_SetupInfo(FontInfo_t* pFont);void NEAR Font_DestroyInfo(FontInfo_t* pFont);void NEAR Lib_FillComboBox(HINSTANCE, HWND, int, DWORD NEAR *, WORD, DWORD);int NEAR Lib_ModalDialogBoxParam(HINSTANCE, LPCSTR, HWND, DLGPROC, LPARAM);int NEAR Lib_SelectWorkingFont(HWND hWnd, FontInfo_t NEAR* pFont);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?