How can I make one child window draw over another within the same form?

Posted by Colen on Stack Overflow See other posts from Stack Overflow or by Colen
Published on 2010-05-13T00:48:49Z Indexed on 2010/05/13 0:54 UTC
Read the original article Hit count: 234

Filed under:
|
|

Let's say I have ten child windows within a form. How do I make sure one of those windows is drawn over all the others? For example, how do I make sure that window 6 always overdraws windows 1-5 and 7-10?

I don't want the window to be drawn over everything else on the screen, just everything else within that form. I've already tried using HWND_TOPMOST and HWND_TOP (see http://stackoverflow.com/questions/2823700/how-can-i-make-a-child-window-topmost ) but it didn't work. :(

© Stack Overflow or respective owner

Related posts about win32

Related posts about c++