|
-
January 30th, 2008, 12:33 PM
#1
Settings Dialog
Just because of curiosity, what is the best way to do a settings dialog?
Currently, I just use this:
Have an ini file to store settings.
On load, read the settings and store them in variables.
Settings dialog accessed via a menu.
Settings dialog used via DoModal
Settings dialog reads ini and stores settings in variables.
If "ok" is clicked, validate and save new settings to ini.
If DoModal returned "ok" button's ID, read ini and update variables.
This works fine, but something tells me there's a much better way to do this.
Any comments, suggestions would be helpful and appreciated 
Thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|