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 » profUIS-Controls sample application Collapse All
Subject Author Date
Luis Alberto Pereira Jul 29, 2004 - 1:36 PM

Dears,


I´m using profUIS-Controls sample application as base for developing my application.


In CPageTabContainers, I would like to know how can I hold event click in pages under CMyTabPageContainerWnd, to control behavior of CMyTabPageContainerWndFlat.


Thanks,


Luis

Technical Support Aug 1, 2004 - 8:06 AM

Dear Luis,

You need to use your own class derived from CExtTabPageContainerWnd or CExtTabPageContainerFlatWnd and override the OnTabWndSelectionChange virtual method. Please do not forget to invoke the method of its parent class if you want just to monitor these events. The method is called twice. First, the bPreSelectionTest parameter is set to true and you may return false if you want to abandon the selection change event. The second time, this parameter is set to false and the selected tab item is already changed.