win api 窗口操作-窗口置顶与寻找与激活

 https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setwindowpos

 

https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setforegroundwindow

 

 

Brings the thread that created the specified window into the foreground and activates the window. Keyboard input is directed to the window, and various visual cues are changed for the user. 

https://blog.csdn.net/leonwei/article/details/4553662

 

 

置顶概念 激活概念

 

 

 

https://blog.csdn.net/sundan308/article/details/41746847

 

将窗口置顶的方法:SetWindowPos、AttachThreadInput、SwitchToThisWindow

 

 

 

posted @ 2020-01-15 11:45  papering  阅读(2038)  评论(0编辑  收藏  举报