-
August 6th, 2005, 03:22 AM
#1
Dialog return codes
Hi all,
I want to create a special confirmation dialog (like the AfxMessageBox() == IDYES).
I have a dialog created. How can I decide which code is returned from DoModal? If that is not possible, I want to create a new function int AskConfirmation().
But then I need to set the return value as soon as the dialog closes.
Any idea how to do this?
Thanks!
-
August 6th, 2005, 03:38 AM
#2
Re: Dialog return codes
Use the EndDialog method to return a value from DoModal.
Dave Mclelland.
-
August 6th, 2005, 04:06 AM
#3
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
|