Hi :)


Is there any advantage of using dialog boxes instead normal windows as main window? And where can I get a good and free resource editor?


Thanks
Posted on 2004-06-12 13:03:00 by Marginais
less code, easier to use a dialog designer than hancoding the window stuff. Normal CreateWindowEx style is more flexible, though...
Posted on 2004-06-12 13:09:20 by f0dder
When using dialogs you have to always remember that you are not returning values to Windows but to the dialog box WndProc. In order to force a return value directly to Windows, for example from WM_NOTIFY you have to use SetWindowLong and specify the DWL_MSGRESULT index. Besides that they are essentially the same though there is a slight speed advantage to windows over dialogs and as f0dder said, CreateWindowEx is slightly more flexible requiring less fixup in the WM_INITDIALOG handler. Personally I only use dialogs, it is easier to visually control the look of your application and reduces development time.
Posted on 2004-06-12 13:12:40 by donkey
Posted on 2004-06-13 01:39:57 by Vortex