Results 1 to 3 of 3

Thread: Window vs. Dialog

  1. #1
    amac
    Guest

    Arrow Window vs. Dialog

    What is the difference between a window and a dialog... except you use a dialog resources to create dialogs?

  2. #2
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Dialogues are windows that are created internally by the CreateDialogParam function. They're created, then the child windows (controls) are created according to the template.

    Basically, for things like options dialogues, use a dialogue, but for the main window of most programs you use a window.

    See, it even works with common parlance
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  3. #3
    Frenzied Member Vlatko's Avatar
    Join Date
    Aug 2000
    Location
    Skopje, Macedonia
    Posts
    1,409
    Dialogues are much easier to use than windows created with CreateWindow and the app isn't any slower (like with MFC) so it is a good thing to use them.
    I am become death, the destroyer of worlds.
    mail:[email protected]

    • Visual Basic 6.0 & .NET
    • Visual C++ 6.0 & .NET
    • ASP
    • LISP
    • PROLOG
    • C
    • Pascal

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