What are the values returned by the standard windows save-dialog? I need to know wether the user clicks 'ok' or 'cancel'...
What are the values returned by the standard windows save-dialog? I need to know wether the user clicks 'ok' or 'cancel'...
If 'ok' is selected then the return value of GetSaveFileName is non-zero. If 'cancel' is selected or an error occurs then the return value is zero.
Open & save as common dialogs.
CProgramming FAQ
Caution: this person may be a carrier of the misinformation virus.