SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Called when the user clicks the Cancel button (the button with an ID of IDCANCEL).
C++
virtual BOOL CSftTabsPage::OnCancel();
The OnCancel function is called when the user clicks the Cancel button (the button with an ID of IDCANCEL).
The default implementation of this member function doesn't respond to the button. It is up to the application to override this function to do any processing. Usually, the Cancel button is located on the parent dialog, not on a page attached to a tab, so the CSftTabsDialog::OnCancel member function would process the Cancel button event.
This example shows an OnCancel member function of a CSftTabsPage based object. The page implements its own Cancel button. To process the Cancel button, it calls the parent dialog's OnCancel member function.
void CPage4::OnCancel() { // Send Cancel to parent GetParentDialog()->OnCancel(); }
See Also C/C++ API | C++ Classes | Notifications