Hide

SftTabs/DLL 6.5 - Tab Control

Display
Print

OnOK

Called when the user clicks the OK button (the button with an ID of IDOK).

C++

virtual void CSftTabsDialog::OnOK();

Comments

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.

See Also C/C++ API | C++ Classes | Notifications


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.