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 OK button (the button with an ID of IDOK).
C++
virtual BOOL CSftTabsPage::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 doesn't respond to the button. It is up to the application to override this function to do any processing. Usually, the OK button is located on the parent dialog, not on a page attached to a tab, so the CSftTabsDialog::OnOK member function would process the OK button event.
This example shows an OnOK member function of a CSftTabsPage based object. The page implements its own OK button. To process the OK button, it calls the parent dialog's OnOK member function.
void CPage4::OnOK() { // Send OK to parent GetParentDialog()->OnOK(); }
See Also C/C++ API | C++ Classes | Notifications