![]() |
CXTPTabControl : can it notify the parent? |
Post Reply
|
| Author | |
tralfaz
Groupie
Joined: 21 June 2009 Status: Offline Points: 36 |
Post Options
Thanks(0)
Quote Reply
Topic: CXTPTabControl : can it notify the parent?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
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 01 July 2009 at 8:10am |
|
Yes, it sends same TCN_SELCHANGING/TCN_SELCHANGE.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
tralfaz
Groupie
Joined: 21 June 2009 Status: Offline Points: 36 |
Post Options
Thanks(0)
Quote Reply
Posted: 02 July 2009 at 4:05pm |
|
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
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 06 July 2009 at 2:08am |
|
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 |