All,

Ok, so I'm still, after a bit of hiatus, trying to create a Window-
type of class that extends DialogBox.  I'm going to call it MyWindow
for now.

I'm MOST of the way there.  I've been able to create a Caption class
that will have minimize, maximize, and close buttons.

I've been able to get it to change the cursor for a resizable MyWindow
- though I haven't  yet implemented the code that does the resizing.

The real roadblock I have right now is how to bring one of the
MyWindow objects to the front of the others.

Normally, DialogBox will have the most recently shown one in front of
previous ones.

Now, they ALL seem to have a z-index of 0.  Yet, obviously, there are
some on top of others.

For the MyWindow class, I want to be able to click on one of these
objects, and have it brought to the front.

Two solutions I've tried have drawbacks that make them non-viable
solutions.
   1 - If I rely on incrementing the zIndex, other objects, such as
menu items in a MenuBar, wind up being concealed by any MyWindow
that's in the area.
   2 - Using the hide() followed by show() in an override of
onBrowserEvent solved that problem, but introduced issues with being
unable to focus on certain components inside the MyWindow.

I have detailed what I've encountered in the thread "DialogBoxes and
MenuBars . . . zIndexing a bad thing?" located at:
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/9a819fd58c9a15bb/ea04ac89956cda4c

So, my question - how do I get around this?  How can I get true window-
like behavior, being able to pop a MyWindow up in front of other
MyWindow objects, without these unintended side-effects?

Any help on this matter would be GREATLY appreciated!

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to