SftTabs/DLL 6.0

OnCancel

Softel vdm, Inc.

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


Feedback / comments / error reports for this topic
© 2016 - Softel vdm, Inc. - www.softelvdm.com