目录
一、如何设置窗口置顶
BOOL SetWindowPos(
[in] HWND hWnd,
[in, optional] HWND hWndInsertAfter,
[in] int X,
[in] int Y,
[in] int cx,
[in] int cy,
[in] UINT uFlags
);
其中,hWndInsertAfter 表示窗口Z排序
A handle to the window to precede the positioned window in the Z order. This parameter must be a window handle or one of the following value
置顶 就是 HWND_TOPMOST