Print Page | Close Window

TCN_SELCHANGING in CXTTabCtrl

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=4905
Printed Date: 11 November 2025 at 2:41am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: TCN_SELCHANGING in CXTTabCtrl
Posted By: gdlindo
Subject: TCN_SELCHANGING in CXTTabCtrl
Date Posted: 28 August 2006 at 1:58pm
I see that the CXTTabCtrl sends the TCN_SELCHANGE message when a tab has changed, but what I really need is notification that it's about to change, before the screen gets repainted.  the TCN_SELCHANGING message should solve my problem, but I don't see it in the class.  Am I correct that the TCN_SELCHANGING message has not been implemented in CXTTabCtrl?  If so, is there a workaround?  When might we see it implemented?
 
Thanks!



Replies:
Posted By: Oleg
Date Posted: 28 August 2006 at 2:25pm
Hello,
CXTTabCtrl sends TCN_XT_SELCHANGING instead.


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


Posted By: gdlindo
Date Posted: 28 August 2006 at 4:32pm
Thanks Oleg, I found the code that you spoke of.  Unfortunately, it isn't quite going to work for what I am trying to do.
 
Is there a way to make clicking on a tab NOT change to that tab?  i.e. ignore the tab selection from the mouse?
 
I have retrofitted a tabbed control with a next/previous button setup to control switching the tabs, and now I'd like to use the tabs only as labels.  A bit unconventional, I know, but there it is :)
 
Thanks again!



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