home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.x
- Path: sparky!uunet!stanford.edu!ames!haven.umd.edu!ni.umd.edu!floyd
- From: floyd@ni.umd.edu (Jim Matthews)
- Subject: HELP! obscuring transient window with parent
- Message-ID: <1992Aug13.212338.4053@ni.umd.edu>
- Organization: University of Maryland
- Date: Thu, 13 Aug 1992 21:23:38 GMT
- Lines: 36
-
- I'm creating an application with one top level (main window). Want
- to have "property sheets" (semi-transient windows that set various
- attributes or have frequently used functions) which are iconified with
- the main application, can't be iconified on their own, but can be
- obscurred by the main window.
-
- Here's what I've tried:
-
- Having property sheets as topLevelShells and setting MwmDecorations
- to try to keep from iconifying. Problem: Window Manager
- (Openwindows 3.0) doesn't seem to acknowledge these. Running Mwm isn't
- an option. topLevelShells can be iconified separately from main window.
-
- Having a main window that is a topLevelShell child of a window that is
- not visible (placed off the screen) and having the transientShell dialogs
- as children of this invisible window. This works, however, I have to
- add an event handler to know when the topLevelShell gets (de)iconified
- so that I can iconify the invisible main, which inturn iconifies the
- transientShell children. Problem: when iconify the transients, the
- window manager windows don't always get refreshed correctly. Since the
- main window is iconified before the transients, when the transients get
- iconified the restore what had been under them (possible part of the main
- window) which isn't correct. Also, if start application with -iconify,
- the invisible window is iconifed, but the main window isn't. I get
- the XmNiconic attribute and try to set it for the main window, but it
- doesn't seem to work. Since the real main is iconic, trying to iconify it
- has no affect, so it doesn't make transient children iconify.
-
- Any help about other possible solutions, or improvements on what I've
- already tried will be greatly appreciated.
-
- --
- ____ |
- ( / floyd@wam.umd.edu | University of Maryland
- /._ _ eng.umd.edu | Computer Science
- \_/// X \ ni.umd.edu | Standard Disclaimers
-