BCGControlBar Pro for MFC
virtual BOOL CBCGPPropertySheet::OnRemoveTreePage ( CPropertyPage *  pPage)

Called by the framework when a page is being removed from the navigation tree.

Should return FALSE in order to prevent a page from being removed.

Override this function in a derived class and return FALSE if you need to prevent removal of pages from the navigation tree.

pPagePoints to a property page to be removed.