How do I force a window to stay on the top (or bottom)



Hello.  I have an application in which there is a window taking up the
majority of the screen, which the user will not be allowed to move.  This
window calls other smaller windows (dialog and selection boxes, stuff like
that).  I need to make sure that these children windows always remain on top
of the main window.  Is there some simple way of doing that?

I've tried calling set_keep_below(true) in the constructor for the main
window, as well as trying set_keep_above(true) in the constructor for the
child window.  Neither of these seems to work.  Am I implementing these
functions wrong, or am I on the wrong track altogether?

Thanks!
Mike



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]