home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / windows / x / motif / 5733 < prev    next >
Encoding:
Internet Message Format  |  1992-08-20  |  2.1 KB

  1. Path: sparky!uunet!charon.amdahl.com!pacbell.com!mips!darwin.sura.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!swl.spec.ptg.sony.co.jp!boonshim
  2. From: boonshim@swl.spec.ptg.sony.co.jp (Lee Boon Shim [dBS] 065-776-5858)
  3. Newsgroups: comp.windows.x.motif
  4. Subject: XmDialogShell resize when it parent(XmForm) is resized
  5. Message-ID: <9208201040.AA16034@smurf.swl.spec.ptg.sony.co.jp>
  6. Date: 20 Aug 92 10:40:40 GMT
  7. Sender: daemon@ucbvax.BERKELEY.EDU
  8. Distribution: inet
  9. Organization: The Internet
  10. Lines: 56
  11.  
  12. Hi !!
  13.  
  14. I have an application with the following simplified construct
  15.  
  16.     XtApplicationShell top {
  17.         XmForm board {
  18.         XmBulletinBoard1 tool1 {
  19.         ...
  20.         }
  21.         XmBulletinBoard2 tool2 {
  22.         ....
  23.         }
  24.         .
  25.         .
  26.         .
  27.         XmDialogShell load {
  28.         XmBulletinBoard box {
  29.             ...
  30.         }
  31.         }
  32.     }
  33.     }
  34.  
  35. The problem is ...
  36.  
  37. When "load" is popup to receive user input, it will be resized auto-
  38. matically to roughly the size of application when it parent "board" is
  39. being resized. Since then, it will follow the size of parent whenever
  40. "board" is resizing.
  41.  
  42. I suspect XmForm sends resize request to all its children, am I
  43. correct ? If so, how to stop such request, else please advise me how
  44. to keep the size of "load" fixed to it original size. I have tried the
  45. following resouce setting in resource file but failed.
  46.  
  47. *load*resizable:        False        // failed
  48. *load*resizePolicy:        XmRESIZE_NONE    // failed
  49. *load*noResize:            True        // failed
  50. *load*allowShellResize:        False        // failed
  51.  
  52. Thanks in advanced for any hint and/or advice.
  53.  _____   __    __  _____
  54. (  _  \ (  \  /  )(  ___) Lee Boon Shim (dBS),
  55. | (_)  ) \  \/  / | |__   Software R&D Laboratory
  56. |  _  <   \    /  |  __)  Sony Precision Engineering Center (Singapore) Pte Ltd
  57. | (_)  )   |  |   | |___  (@ 65-776-6868, Fax: 65-779-5657.
  58. (_____/    (__)   (_____)
  59.  
  60. ------- End of Forwarded Message
  61.  _____   __    __  _____
  62. (  _  \ (  \  /  )(  ___) Lee Boon Shim (dBS),
  63. | (_)  ) \  \/  / | |__   Software R&D Laboratory
  64. |  _  <   \    /  |  __)  Sony Precision Engineering Center (Singapore) Pte Ltd
  65. | (_)  )   |  |   | |___  (@ 65-776-6868, Fax: 65-779-5657.
  66. (_____/    (__)   (_____)
  67.  
  68.