📄 hikerwbui.h
字号:
#ifndef __HIKERWBUI_H
#define __HIKERWBUI_H
#define CODELEN 20
#define WORDLEN 21
#define DUPWORD 500
#define DUPCODE 6
#define SENTLEN 256
#define WM_HOOKKEY WM_USER+1
#define MYWM_NOTIFYICON WM_USER+2 //taskbar callback message
#define MYWM_SHOWAPPICONIC WM_USER+3 //taskbar displaying icon message
#define HKWB_API extern "C" __declspec(dllexport)
//--called by state window
void UISetFocusWnd(HWND hWnd);
void UISetChsState(BOOL bState);
void UISetSbcState(BOOL bState);
void UISetChsPctState(BOOL bState);
void UISetCurrPos(int pos);
BOOL HookKeyHandle(WPARAM wParam, LPARAM lParam);
//called by new word window
void UINewWord(CString csCode, CString csWord);
void UIDeleteWord(CString csCode, CString csWord);
BOOL UIGeneCode(CString csWord, CString& csCode);
//export function
HKWB_API HWND UICreateSubWnd();
HKWB_API BOOL UIDestroySubWnd(HWND hStaWnd);
HKWB_API BOOL UIInitHook();
HKWB_API BOOL UIEndHook();
HKWB_API BOOL UIHookOn();
HKWB_API BOOL UIHookOff();
HKWB_API BOOL UIShowSoftKeyboard(BOOL bShow, int iKeyboardId = 0);
HKWB_API BOOL UITrainFromFile();
HKWB_API int UIGetOutputStyle();
HKWB_API int UIGetOutputCharset();
HKWB_API int UIGetFloatWndStyle();
HKWB_API void UISetOutputStyle(int iStyle);
HKWB_API void UISetOutputCharset(int iCharset);
HKWB_API void UISetFloatWndStyle(int iStyle);
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -