April 27th, 1999, 03:38 AM
What is the difference between a dialog box and a window/view ?
|
Click to See Complete Forum and Search --> : Diff between dailog box and a window. April 27th, 1999, 03:38 AM What is the difference between a dialog box and a window/view ? delbert Harry April 27th, 1999, 08:28 AM Both are windows, but the dialog box is a window that is created from a dialog template. Paul McKenzie April 27th, 1999, 12:14 PM 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 April 28th, 1999, 12:44 AM Thank you Mr.Paul McKenzie for your reply. codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |