Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » PageRemove in CExtTabPageContainerWnd without selecting the page Collapse All
Subject Author Date
Debabrata Mukherjee Jan 24, 2008 - 11:40 PM

Can the PageRemove() method be used without selecting the previous page in a tab strip in the class CExtTabPageContainerWnd . Because the PageRemoveAll() method does not work. Please treat it as urgent!

Technical Support Jan 26, 2008 - 12:21 PM

If you open the CExtTabPageContainerWnd::PageRemove() method you can find the following code:

            // select previous page
            if( nCount > 0L )
            {
                        if( nIndex > 0L )
                                   nIndex--;
                        PageSelectionSet( nIndex );
            }
This code selects the previous page. So you can use a modified version of this method where this fragment is removed.

As for the CExtTabPageContainerWnd::PageRemoveAll(), what do you mean by "method does not work"?