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

  1. Path: sparky!uunet!cs.utexas.edu!sun-barr!ames!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: MDI Child Windows
  5. Message-ID: <1993Jan8.140312.18855@crd.ge.com>
  6. Date: 8 Jan 93 14:03:12 GMT
  7. Sender: deitsch@alkaid (Andy Deitsch)
  8. Reply-To: deitsch@sol.crd.ge.com
  9. Organization: GE Research & Development
  10. Lines: 28
  11. Nntp-Posting-Host: alkaid.crd.ge.com
  12.  
  13. First, I'd just like to thank everyone who responded to my 2 previous
  14. posts.  You've been extremely helpful.
  15.  
  16.  
  17. Now the problem:
  18.  
  19. I am writing an MDI application that I based on an example program
  20. delivered with BC++3.1 as part of their Resource Workshop demo (rwcdemo).
  21.  
  22. The problem is that when a child window is maximized, it dissapears and
  23. there is no way to get it back.  Experimenting a little, I decided to
  24. add scroll bars (WS_HSCROLL | WS_VSCROLL) to the style in MDICREATESTRUCT
  25. and when I maximize this window, the scroll bars appear where they should
  26. (butted up to the border of the frame window, but the system menu and 
  27. restore bitmap don't appear on the menu bar.
  28.  
  29. I have looked at several books and it seems like maximizing an MDI child
  30. and getting the required behaviour is the default (i.e. I shouldn't have
  31. to handle the message myself right?).  The Borland example has the
  32. same behaviour as my application.
  33.  
  34. Anyone have any ideas?
  35.  
  36. -- 
  37. _________________________________________________________________________
  38. Andy Deitsch                             email    : deitsch@crd.ge.com  
  39. GE Corporate Research & Development      phone    : (518) 387-7207   
  40. Schenectday, NY 12301                    dial comm: 833-7207     
  41.