Setforegroundwindow 将窗口置最前
摘要:
windows下简单的调用Setforegroundwindow并不能将窗口置最前,我找到三种方法可以实现该功能。1、先置topmost,然后取消 SetWindowPos(HWND_TOPMOST, 0, 0, 0, 0, SWP_NOSIZE | SWP_NOMOVE); SetWindowPos(HWND_NOTOPMOST, 0, 0, 0, 0, SWP_NOSIZE | SWP_... 阅读全文
posted @ 2006-04-29 10:52 阿彪 阅读(12966) 评论(3) 推荐(0) 编辑