Signals that data has been changed permanently and the tabbed dialog can no longer be Cancel'ed.
C++
virtual void CSftTabsDialog::SetClose(BOOL fClose = TRUE);
fClose
Set to TRUE to allow the tabbed dialog to close, FALSE otherwise. The value is used by an override of SetClose in the application's class derived from CSftTabsDialog.
The SetClose function signals that data has been changed permanently and the tabbed dialog can no longer be Cancel'ed.
When input data is altered permanently, the tabbed dialog or page should use CSftTabsDialog::SetClose or CSftTabsPage::SetClose. An application could override the CSftTabsDialog::SetClose member function to visually notify the user that data has been permanently altered. SetClose could be implemented to change the Cancel button's caption to "Close". The default implementation does nothing. An application overrides SetClose in its class derived from CSftTabsDialog.
See Also C/C++ API | C++ Classes | Notifications