home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!cs.utexas.edu!sun-barr!ames!agate!agate!muffy
- From: muffy@remarque.berkeley.edu (Muffy Barkocy)
- Newsgroups: comp.os.ms-windows.programmer.misc
- Subject: modal dialog child of modal dialog?
- Date: 27 Aug 92 14:22:12
- Organization: Natural Language Incorporated
- Lines: 23
- Distribution: world
- Message-ID: <MUFFY.92Aug27142212@remarque.berkeley.edu>
- NNTP-Posting-Host: remarque.berkeley.edu
-
-
- I'm pretty sure this can be done (Quick C has an example in the Project
- options dialog), but I have tried it and it behaves strangely. I
- thought there might just be something I was neglecting to do. I have an
- MDI frame window. When you select something in one of the children, you
- get a popup modal dialog box. In this dialog, there are controls which
- you can click to get yet another dialog, with more information. Both
- dialogs are created with DialogBox. The first is a child of the MDI
- Frame, the second is a child of the first. The second dialog comes up
- fine, but the system menu controls on both dialogs are black. When I
- exit the second dialog, the focus does not go back to the first and, in
- fact, my whole application is hung. Any advice on how to do this?
-
- Thanks...
-
- Muffy
-
- --
-
- Muffy Barkocy | muffy@mica.berkeley.edu | wi.4636@wizvax.methuen.ma.us
- ~Little round planet/in a big universe/sometimes it looks blessed/
- sometimes it looks cursed/Depends on what you look at, obviously/
- But even more it depends on the way that you see~ - Bruce Cockburn
-