Called when the user clicks the OK button (the button with an ID of IDOK).
virtual void CSftTabsDialog::OnOK();
The OnOK function is called when the user clicks the OK button (the button with an ID of IDOK).
Override this member function to perform the OK button action.
The default implementation of this member function calls CSftTabsDialog::ClosePossible to make sure that the currently active page can be closed. Then any automatic data validation and exchange for the tabbed dialog takes place.
If you implement the OK button in a modeless tabbed dialog, you must override the OnOK member function and call DestroyWindow from within it. Do not call the base-class member function because it calls EndDialog, which does not destroy a modeless dialog.