📄 mvwnd.h
字号:
// mvwnd.h
#ifndef MVWND_H
#define MVWND_H
#ifdef __cplusplus
extern "C" {
#endif
// 僨僗僋僩僢僾撪偱偺堏摦
int MoveWindowInDesktop ( HWND hWnd, int nHorizontalRatio, int nVerticalRatio ) ;
int MoveWindowIntoDesktop ( HWND hWnd ) ;
int MoveWindowTitleIntoDesktop ( HWND hWnd ) ;
// 恊僂傿儞僪僂撪偱偺堏摦
int MoveWindowInParent ( HWND hWnd, int nHorizontalRatio, int nVerticalRatio ) ;
int MoveWindowIntoParent ( HWND hWnd ) ;
int MoveWindowTitleIntoParent ( HWND hWnd ) ;
// 儅僋儘
#define MoveWindowToCenter(hWnd) MoveWindowInDesktop(hWnd,50,50)
#define MoveWindowToCenterInParent(hWnd) MoveWindowInParent(hWnd,50,50)
#ifdef __cplusplus
}
#endif
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -