home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / mswindo / programm / misc / 4827 < prev    next >
Encoding:
Internet Message Format  |  1993-01-11  |  1.8 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!crdgw1!rdsunx.crd.ge.com!sol.crd.ge.com!deitsch
  2. From: deitsch@sol.crd.ge.com (Andy Deitsch)
  3. Newsgroups: comp.os.ms-windows.programmer.misc
  4. Subject: More MDI questions
  5. Message-ID: <1993Jan11.142823.8999@crd.ge.com>
  6. Date: 11 Jan 93 14:28:23 GMT
  7. Sender: deitsch@alkaid (Andy Deitsch)
  8. Reply-To: deitsch@sol.crd.ge.com
  9. Organization: GE Research & Development
  10. Lines: 32
  11. Nntp-Posting-Host: alkaid.crd.ge.com
  12.  
  13. Ok, thanks to everyone who told me that if I intercept the WM_SIZE
  14. message I also need to pass the message on to the default proc.
  15.  
  16. Question:
  17.  
  18. I have my MDI application and can create two different types of children
  19. (documents).  What I would like, is to also create a child window that
  20. is owned by one of these MDI children so that I can use it as a tool box
  21. whenever the MDI child window is active (similar to the Tools window
  22. used in Borland's Resource Workshop in the Dialog Editor).
  23.  
  24. I have tried calling CreateWindow after my MDI Child has been created but
  25. this seems to cause a Protection Violation Error.  I have tried several
  26. different styles (WS_CHILD, WS_CHILDWINDOW etc), but nothing seems to work.
  27.  
  28. Does anyone have an idea as to how this can work?  I don't really want another
  29. MDI child because it seems that MDI children must have Maximize/Minimize 
  30. buttons which I don't want.
  31.  
  32. Also, how does Borland get their Tools window (it may be a dialog box I
  33. don't know) to constantly be active even if another MDI child window is
  34. active?
  35.  
  36. Any answers would be appreciated.
  37.  
  38.  
  39. Andy
  40. -- 
  41. _________________________________________________________________________
  42. Andy Deitsch                             email    : deitsch@crd.ge.com  
  43. GE Corporate Research & Development      phone    : (518) 387-7207   
  44. Schenectday, NY 12301                    dial comm: 833-7207     
  45.