How to make window absolute topmost?

别等时光非礼了梦想. 提交于 2019-12-02 01:27:34

问题


I use the SetWindowPos api to make my window topmost with the HWND_TOPMOST param. It works fine, but still tooltips are on top of it.

How to make my window on top of all. Is there an api that I'm missing?

Edit: I fixed it with a timer checking the foreground window and then setting mine to topmost.


回答1:


There is no way to do that, as noted in the Old New Thing blog. TopMost is TopMost. If two windows are competing one must loose. There is no secret MoreTopMost constant.



来源:https://stackoverflow.com/questions/5133603/how-to-make-window-absolute-topmost

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!