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 General Discussion » Tab selection Collapse All
Subject Author Date
Yusuf Abdulkadir Aug 1, 2006 - 12:00 PM

In the ProfUIS-Controls example, tab container, CMyTabWndFlat can override OnTabWndSelectionChange to be notified tab switch events. How do I know at the page view level that the view is activated? in this case each view page is of the type of CExtResizableDialog object.

thanks

Technical Support Aug 2, 2006 - 8:45 AM

There are more than one way to pass the activate event to the page. For example, you can create some method in the page class and invoke this method for the active page class in the OnTabWndSelectionChange overridden method so the page class will be notified about the activate event. You can also send your own registered message to the page window so the window can handle this message.