home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / windows / x / 15216 < prev    next >
Encoding:
Text File  |  1992-08-13  |  2.2 KB  |  46 lines

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