![]() |
CXTPTabControl : can it notify the parent? |
Post Reply ![]() |
Author | |
tralfaz ![]() Groupie ![]() Joined: 21 June 2009 Status: Offline Points: 36 |
![]() ![]() ![]() ![]() ![]() Posted: 30 June 2009 at 9:59am |
When a tab is clicked, can it Notify the parent like the MFC TabCtrl does?
|
|
XP Pro SP3 / VS2008 C++ / Xtreme CommandBars v13.1.0 |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Yes, it sends same TCN_SELCHANGING/TCN_SELCHANGE.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
tralfaz ![]() Groupie ![]() Joined: 21 June 2009 Status: Offline Points: 36 |
![]() ![]() ![]() ![]() ![]() |
Thank you. I didn't have SS_NOTIFIY set for the control.
Can you tell me how to get notified if the tab is moved/reordered? |
|
XP Pro SP3 / VS2008 C++ / Xtreme CommandBars v13.1.0 |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi, You can override
virtual void OnSwitchItem(CXTPTabManagerItem* pItem1, CXTPTabManagerItem* pItem2);
for this case. |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |