How to make window absolute topmost?
Asked Answered
E

1

3

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.

Example

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.

Edmead answered 27/2, 2011 at 13:58 Comment(1)
You're simply supposed not to do that from an usability standpoint. Tooltips are, for the short time they are displayed, the most important thing the user wants to see, it's not acceptable that they are hidden by your window.Cassy
B
13

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.

Bernabernadene answered 27/2, 2011 at 14:21 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.