Professional UI Solutions
Site Map   /  Register


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 General Discussion » CExtPageContainerWnd Page Selection Change Event Collapse All
Subject Author Date
Rahul B S Dec 1, 2009 - 11:57 PM

I have derived a class from ’CExtPageContainerWnd’.

how can I map the navigation page selection change event (i.e., selection changing event and selection changed event)

in my derived class?

Also I need to get the index of the selected navigation page on that event.



Rahul B S Dec 2, 2009 - 11:25 PM

ok working fine. Thank u very much

Technical Support Dec 2, 2009 - 7:32 AM

The CExtPageContainerWnd control implements a container for several page windows of any kind. These pages can be expanded or contracted. You can override the CExtPageContainerWnd::OnPageContainerItemExpanding() and CExtPageContainerWnd::OnPageContainerItemExpanded() virtual methods to catch the expanding event. The page container can be configured for keeping only one page window expanded. I.e. if the user expands some page, then the page container can automatically contract all the other pages. The page container control can automatically stretch the single exploded window to maximum available size. In any case, the page container control does not support selection. I.e. there is no selection in the page container control.