home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!spool.mu.edu!agate!ames!saimiri.primate.wisc.edu!crdgw1!rpi!batcomputer!cornell!uw-beaver!cs.ubc.ca!alberta!kakwa.ucs.ualberta.ca!acs.ucalgary.ca!cuugnet!terbergd
- From: terbergd@cuug.ab.ca (Denis Terberg 283-8245)
- Newsgroups: comp.os.ms-windows.programmer.misc
- Subject: Borland C++ OWL; want hybrid of MDI child and Dialog box
- Message-ID: <1992Dec26.213715.6956@cuug.ab.ca>
- Date: 26 Dec 92 21:37:15 GMT
- Sender: news@cuug.ab.ca (Network News Reader)
- Distribution: comp.os.ms-windows.programmer.misc
- Organization: Calgary UNIX User's Group
- Lines: 34
- Nntp-Posting-Host: sun.cuug.ab.ca
-
- I want to create an MDI child window with some (but not all)
- of the properties of a Dialog Box.
-
- The desired features are:
- * create from a resource
- (ie: use CreateDialog() )
- * events pre-processed by a Dialog Box Procedure,
- instead of a window procedure
- (ie: use DefDlgProc)
- * can be tiled/minimized/etc inside MDI Frame
- (ie: make it a child of the MDI Frame)
-
- However, I do NOT want the window to have any of the following
- properties:
- * modal
- (ie: set TDialog::IsModal = FALSE)
- * can be dragged out of MDI Frame window
- (how do you prevent this??)
- * remains in front of all other windows
- (how do you prevent this??)
-
- The best I've been able to do is make an MDI Child window which
- creates a dialog window in it's client area. This looks exactly
- like what I want, and has all the desired functionality, but
- I can't help thinking that the same should be possible with only
- one window, instead of two.
-
- Any suggestions?
-
- --
- **************************************************
- * Denis W. Ter Berg (403) 243-5459 *
- * terbergd@cuug.ab.ca *
- **************************************************
-