HeaderPane
Main
Hide
Share Link
Print

SetClose

Signals that data has been changed permanently and the tabbed dialog can no longer be Cancel'ed.

C++

virtual void CSftTabsPage::SetClose(BOOL fClose = TRUE);

Parameters

fClose

Set to TRUE to allow the tabbed dialog to close, FALSE otherwise. The value is passed to the parent dialog's CSftTabsDialog::SetClose, which an application can override in its class derived from CSftTabsDialog.

Comments

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". CSftTabsPage::SetClose calls the parent dialog's CSftTabsDialog::SetClose, whose default implementation does nothing. An application overrides CSftTabsDialog::SetClose in its derived dialog class.

See Also C/C++ API | C++ Classes | Notifications


Last Updated 10/11/2026 - (email)
© 2026 Softel vdm, Inc.