Archived

This topic is now archived and is closed to further replies.

kavalants

What's the point...

Recommended Posts

kavalants    122
...of using dialog windows (or having them at all) when I can just put some controls on any ordinary window in Win32? P.S. I''m a newbie programmer using MASM32.

Share this post


Link to post
Share on other sites
NaliXL    120
They''re just there to make your life easier. You won''t have to create a window yourself everytime you want to display something, just use a one-line (at least in most languages) statement to do everything for u.

Share this post


Link to post
Share on other sites
You can create a dialog window based on a dialog template ressource you construct by drag''n''drop. Much easyer than creating / positioning the controls at runtime.

Forever trusting who we are
And nothing else matters
- Metallica

Share this post


Link to post
Share on other sites
Michalson    1657
If''ve you talking about the standard dialogs (like open and save), the advantage is that when a new version of windows (or an enhancement) comes out your app takes advantage of the changes.

For instance: Office 97 uses custom open/save dialogs, so under Windows 98 and higher, while most apps show a "desktop" button in the open/save dialog, Office does not.

Basically you''re making your app non-upward compatible.

Share this post


Link to post
Share on other sites