Hide

SftTabs/DLL 6.5 - Tab Control

Display
Print

OnCancel

Called when the user hits the ESCAPE key or clicks the Cancel button (the button with an ID of IDCANCEL).

C++

virtual void CSftTabsDialog::OnCancel();

Comments

The OnCancel function is called when the user hits the ESCAPE key or clicks the Cancel button (the button with an ID of IDCANCEL).

Override this member function to perform the Cancel button action. The default implementation terminates a modal dialog box by calling EndDialog and causes DoModal to return IDCANCEL.

If you implement the Cancel button in a modeless tabbed dialog, you must override the OnCancel member function and call DestroyWindow. 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.