|
|
|
ClosePossible |
Determines whether a tabbed window can be closed.
C++
protected: virtual BOOL CSftTabsWindowSheet::ClosePossible(CWnd* pWnd, CSftTabs* pTabCtl);
Parameters
pWnd
The CWnd based object describing the tab control's parent window.
pTabCtl
A pointer to the tab control's CSftTabs based object.
Returns
The return value is TRUE if the window can be closed, otherwise FALSE is returned.
Comments
The ClosePossible function determines whether a tabbed window can be closed.
This function calls the CSftTabsWindowPage::AllowSwitch member function of the currently active tab page. If the currently active page can be closed, the entire tabbed window can also be closed. An application can override this function to perform additional tests such as input validation, to determine if the window can be closed.
See Also C/C++ API | C++ Classes | Notifications