CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 1999
    Posts
    19

    How to make Dialog go behind MDI child windows

    I have an MDI application that has a large dialog that takes up most of the screen on a 640x480 laptop display. The dialog has to be open while the user views the contents of child windows, but the big dialog is always in front of the other windows. How can I make it so that when the user clicks on another window, the window ops into the foreground and the dialog goes behind it? In other words, how can I make the dialog act like another frame window from a visibility standpoint? I thought of putting the dialog content in a CFormView, but then it appears "concave" and doesn't look like a dialog.


  2. #2
    Join Date
    Apr 1999
    Posts
    2

    Re: How to make Dialog go behind MDI child windows

    You could try the CWnd member funtion

    CWnd::BringWindowToTop()


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured