I'm following through on Iczelion's tutorials and have a question regarding chapter 10 "Dialog Box as Main Windows" ...

There are 2 methods of creating dialog boxes as shown in this tutorial :-
1) Create a window class with message loop.
2) No Window class, and no message loop.

Which is the preferred method for a modeless dialog based application?
Posted on 2007-10-10 03:51:27 by tornado
Modeless requires a separate message loop, because in its intended usage, you would be switching focus between the dialog and another window in your app.

Modals have their own internal message loop. They aren't interested in giving up control to another window in your app.
Posted on 2007-10-10 11:24:18 by tenkey