home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / windows / x / intrinsi / 679 < prev    next >
Encoding:
Internet Message Format  |  1992-12-22  |  1.2 KB

  1. Path: sparky!uunet!sdrc!thor!scjones
  2. From: scjones@thor.sdrc.com (Larry Jones)
  3. Newsgroups: comp.windows.x.intrinsics
  4. Subject: Create widget in existing window?
  5. Message-ID: <2419@sdrc.COM>
  6. Date: 21 Dec 92 17:05:33 GMT
  7. Sender: news@sdrc.COM
  8. Lines: 15
  9.  
  10. I have an application where a main process manages a large widget tree
  11. containing lots of menus and other user interaction type stuff and a
  12. single drawing area widget.  The user interaction ultimately sends
  13. commands to an asynchronous subprocess which draws in the drawing area. 
  14. I'd like to use the intrinsics in the subprocess, but I'm not really
  15. sure of the best way to get a widget created using the existing drawing
  16. area window.  I suspect that I need a shell of some kind to be the root
  17. of the subprocess's widget tree; is that true?  If so, can I use an
  18. existing shell widget and just stuff in the appropriate window id and
  19. set the realized flag, or should I do it right and create a new
  20. subclass?  Any help would be greatly appreciated.
  21. ----
  22. Larry Jones, SDRC, 2000 Eastman Dr., Milford, OH  45150-2789  513-576-2070
  23. larry.jones@sdrc.com  or  ...uunet!sdrc!larry.jones
  24. I suppose if I had two X chromosomes, I'd feel hostile too. -- Calvin
  25.