Re: Main dialog window always remains behind other dialogs: how can I change this?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



You could use a CFormViews for rather than dialogs and have them all in the
same frame using a splitter window, or, if you want them to float you could
make them in separate frame frames or control bars and dock them.

http://www.codeguru.com/cpp/w-d/docking/
http://www.codeproject.com/docking/

Tom
"Ivan Vecerina" <INVALID_use_webform@xxxxxxxxxxxxxxxxx> wrote in message
news:OBM2yaQHHHA.1248@xxxxxxxxxxxxxxxxxxxxxxx
"Joseph M. Newcomer" <newcomer@xxxxxxxxxxxx> wrote in message
news:nkson2pmqv1lo2klulgu6bu199o70egkq0@xxxxxxxxxx
: Because he wants the dialogs to be able to
: appear *under* their parent window, which is
: not supported unless the parent is NULL, and
: you can't create a dialog with a NULL parent
: using MFC mechanisms. And, it actually is a
: bad idea to have dialogs with NULL parents.

Thing is, I actually have document windows which I just happen
to be loading as "dialogs" so that I can load the layout of
part of the window from a resource resource (has a few entry
fields...).

So is there a standard mechanism that I can use to have multiple
top-level windows in an application ?

I'm talking about something à la MS Word 2003, or internet explorer.
I don't think that this is such a weird design...

--Ivan

--
http://ivan.vecerina.com/contact/?subject=NG_POST <- email contact form



.



Relevant Pages

  • RE: multiple modal dialogs
    ... There are two different ways of showing dialogs: ... Modal dialog (and any window for that matter) runs on the top of all ... While modal dialog relies on own message loop modeless relies on application ... that these frame windows can have there own modal ...
    (microsoft.public.vc.mfc)
  • Re: Help in creating dialog based application
    ... But the way you would notify the parent dialog to do anything is PostMessage ... dialog as parent but how i will inform the parent window to distroy ... dialog which will create modeless dialogs so when i switch to some ...
    (microsoft.public.vc.mfc)
  • Re: Multiple modal windows with the same parent
    ... Though EndModalLoop is invoked and WM_NULL message is ... of my dialogs, it turned out that one of them just stopped closing (in ... in which case the second dialog's parent would be the first dialog ... But isn't it possible the first modal window creates another modal ...
    (microsoft.public.vc.mfc)
  • Re: CEdit does not get WM_CHAR in a DLL when the main application is minimized
    ... I have a simple application that lunch a DLL. ... The DLL opens a window ... characteristics of the screen, its resolution, the parent frame size, etc.  There is no ...
    (microsoft.public.vc.mfc)
  • Re: Main dialog window always remains behind other dialogs: how can I change this?
    ... appear *under* their parent window, ... bad idea to have dialogs with NULL parents. ... part of the window from a resource resource (has a few entry ...
    (microsoft.public.vc.mfc)