CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Guest

    Diff between dailog box and a window.

    What is the difference between a dialog box and a window/view ?


  2. #2
    Join Date
    May 1999
    Posts
    92

    Re: Diff between dailog box and a window.

    Both are windows, but the dialog box is a window that is created from a dialog template.


  3. #3
    Join Date
    Apr 1999
    Posts
    27,449

    Re: Diff between dailog box and a window.

    Difference: A dialog may or may not have it's own message loop. *Modal* dialogs have their own message loop and while displayed, blocks the parent's loop from processing messages. This is why the parent can't do anything (not counting threads) when a modal dialog is displayed.

    *Modeless* dialog boxes share the message loop with the parent. This is why the parent window is still "alive" when a modeless dialog is displayed.

    And like the other post stated, modal and modeless dialogs are created from a dialog template.

    Regards,

    Paul McKenzie

    Regards,

    Paul McKenzie


  4. #4
    Guest

    For Paul McKenzie

    Thank you Mr.Paul McKenzie for your reply.



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