selection & always on top

Robert Malmgren (starnet!apple!eua.ericsson.se!Robert.Malmgren)
Mon, 11 Oct 93 18:31:09 +0100

Hi to all subscribers to the metacard list!

I have two questions that I wonder if someone have any answers to.

First, is there a way to detect if a stack is partly or wholly covered by another
window? We're in the development of a program that contain a big display window
and a smaller controller windpw (the one with all the buttons). What we would
like to do is to move the controller window in front of another window if the
(probably naive) user by misstake put the control window behind something. I
could believe that a think like this might depend on the window manager. The
wm I use is olvwm on a Sun SPARC with 4.1.x

Another thing that I don't really know how to solve is how to change a selected
item from a button. If I for example had a button called "delete" and the
purpose of the button is to remove the selected object, the object gets
unselected the same instant I click on the button. Iv'e found a way to do it in
the normal editing (pointer?) mode by using button 2 and 3 on the mouse, but not
in browse mode. Is there an easy work around for this, or is it I who have
misunderstod something.

Thanks in advance and best regards,

Robert