🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.misc
Article #2599

MDI Child Windows

#2599
From: Andy Deitsch
Date: Fri, 08 Jan 1993 14:03
28 lines
1749 bytes
First, I'd just like to thank everyone who responded to my 2 previous
posts.  You've been extremely helpful.


Now the problem:

I am writing an MDI application that I based on an example program
delivered with BC++3.1 as part of their Resource Workshop demo (rwcdemo).

The problem is that when a child window is maximized, it dissapears and
there is no way to get it back.  Experimenting a little, I decided to
add scroll bars (WS_HSCROLL | WS_VSCROLL) to the style in MDICREATESTRUCT
and when I maximize this window, the scroll bars appear where they should
(butted up to the border of the frame window, but the system menu and 
restore bitmap don't appear on the menu bar.

I have looked at several books and it seems like maximizing an MDI child
and getting the required behaviour is the default (i.e. I shouldn't have
to handle the message myself right?).  The Borland example has the
same behaviour as my application.

Anyone have any ideas?

-- 
_________________________________________________________________________
Andy Deitsch                             email    : deitsch@crd.ge.com  
GE Corporate Research & Development      phone    : (518) 387-7207   
Schenectday, NY 12301                    dial comm: 833-7207     
Technical Details
Message-ID: <1993Jan8.140312.18855@crd.ge.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sun-barr!ames!saimiri.primate.wisc.edu!crdgw1!rdsunx.crd.ge.com!sol.crd.ge.com!deitsch

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sun-barr!ames!saimiri.primate.wisc.edu!crdgw1!rdsunx.crd.ge.com!sol.crd.ge.com!deitsch
From: deitsch@sol.crd.ge.com (Andy Deitsch)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: MDI Child Windows
Message-ID: <1993Jan8.140312.18855@crd.ge.com>
Date: 8 Jan 93 14:03:12 GMT
Sender: deitsch@alkaid (Andy Deitsch)
Reply-To: deitsch@sol.crd.ge.com
Organization: GE Research & Development
Lines: 28
Nntp-Posting-Host: alkaid.crd.ge.com