home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!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: More MDI questions
- Message-ID: <1993Jan11.142823.8999@crd.ge.com>
- Date: 11 Jan 93 14:28:23 GMT
- Sender: deitsch@alkaid (Andy Deitsch)
- Reply-To: deitsch@sol.crd.ge.com
- Organization: GE Research & Development
- Lines: 32
- Nntp-Posting-Host: alkaid.crd.ge.com
-
- Ok, thanks to everyone who told me that if I intercept the WM_SIZE
- message I also need to pass the message on to the default proc.
-
- Question:
-
- I have my MDI application and can create two different types of children
- (documents). What I would like, is to also create a child window that
- is owned by one of these MDI children so that I can use it as a tool box
- whenever the MDI child window is active (similar to the Tools window
- used in Borland's Resource Workshop in the Dialog Editor).
-
- I have tried calling CreateWindow after my MDI Child has been created but
- this seems to cause a Protection Violation Error. I have tried several
- different styles (WS_CHILD, WS_CHILDWINDOW etc), but nothing seems to work.
-
- Does anyone have an idea as to how this can work? I don't really want another
- MDI child because it seems that MDI children must have Maximize/Minimize
- buttons which I don't want.
-
- Also, how does Borland get their Tools window (it may be a dialog box I
- don't know) to constantly be active even if another MDI child window is
- active?
-
- Any answers would be appreciated.
-
-
- Andy
- --
- _________________________________________________________________________
- Andy Deitsch email : deitsch@crd.ge.com
- GE Corporate Research & Development phone : (518) 387-7207
- Schenectday, NY 12301 dial comm: 833-7207
-