Keeping a window always on top -- including menus (win32)

Posted by Steven Lu on Stack Overflow See other posts from Stack Overflow or by Steven Lu
Published on 2010-06-07T19:30:40Z Indexed on 2010/06/07 19:32 UTC
Read the original article Hit count: 165

Filed under:
|
|
|

I would like to have a layered window that is always-on-top, which I can accomplish, but there are certain screen elements that still get drawn over it, such as menus (including the start menu).

Is there any way to make a window or child window of my application have a high enough top-ness property that it will draw over another application's menus? Or is there something built in to windows that ensures that menus in the currently active application are always drawn on top?

In fact, I don't really understand all that well how menus work. So it might not even make any sense for me to try to make my window "act like a menu" in hopes of making it cover more things.

© Stack Overflow or respective owner

Related posts about c++

Related posts about Windows