PDA

Click to See Complete Forum and Search --> : Window vs. Dialog


amac
Sep 13th, 2001, 02:01 PM
What is the difference between a window and a dialog... except you use a dialog resources to create dialogs?

parksie
Sep 13th, 2001, 03:13 PM
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 :)

Vlatko
Sep 13th, 2001, 03:47 PM
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.