Print Page | Close Window

CXTPTabControl : can it notify the parent?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=14654
Printed Date: 27 February 2025 at 5:16pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPTabControl : can it notify the parent?
Posted By: tralfaz
Subject: CXTPTabControl : can it notify the parent?
Date 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



Replies:
Posted By: Oleg
Date Posted: 01 July 2009 at 8:10am
Yes, it sends same TCN_SELCHANGING/TCN_SELCHANGE.

-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: tralfaz
Date 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


Posted By: Oleg
Date 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



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net