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 » CExtTabPageContainerWnd question Collapse All
Subject Author Date
tera tera Jun 25, 2009 - 7:37 PM

Hello.


I want to perform a decision when I clicked the point where there is not a tab button


 


In addition, the state that one tab button is not displayed.

I want to judge the mouse button click of this time.


Give my best regards


 

Technical Support Jun 26, 2009 - 1:10 PM

You should use your CExtTabWnd-derived class, handle the WM_***BUTTONDOWN message(s) in it and use the CExtTabWnd::ItemHitTest() method to determine whether any tab item or button is pressed or not.

tera tera Jun 28, 2009 - 10:26 PM

Hello.


When one tab is not displayed,

WM_***BUTTONDOWN does not come.

Technical Support Jun 30, 2009 - 6:04 AM

You should implement your CExtTabWnd-derived class which handles WM_***BUTTONDOWN message(s). Then create a CExtTabPageContainerWnd-derived class which implements the following virtual method:

virtual CExtTabWnd * OnTabWndGetTabImpl()
{
      return new CExtTWPC < C_YOUR_TabWnd >;
}

tera tera Jun 30, 2009 - 3:28 AM

I made a solution of the problem by oneself.

Thank you very much for your advice.