Not sure this matters...
Jijesh Balakrishnan wrote:
its a user drawn dialog and its a child dialog.
If you've derived the dialog from CDialog and you want to do something unique before closing a dialog, override the virtual
OnDestroy()
. If you'd like to close one dialog from another, just call
OnDestroy()
on that window.