Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我使用SetWindowPos api 通过 HWND_TOPMOST 参数使我的窗口位于最顶层。它工作正常,但仍然有工具提示。
如何让我的窗户最重要。有我缺少的api吗?
编辑:我用计时器检查前景窗口,然后将我的设置为最上面。
正如旧新事物博客中所述,没有办法做到这一点。TopMost 是 TopMost。如果两个窗口在竞争,一个必须松动。没有秘密的 MoreTopMost 常量。