Windows 7: how to bring a window to the front no matter what other window has focus?

后端 未结 9 1789
走了就别回头了
走了就别回头了 2020-11-28 08:04

I\'m implementing a task-bar replacement, dock-like application-switcher style program. It\'s doing some unique stuff with OpenGL, and with keyboard shortcuts, so the way it

9条回答
  •  暗喜
    暗喜 (楼主)
    2020-11-28 08:54

    If you're implementing hotkeys, use RegisterHotKey. As Raymond Chen puts it (companion blog article to the one already linked by Chris), "Pressing a registered hotkey gives you the foreground activation love".

提交回复
热议问题