问题
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