Print Page | Close Window

CXTTabExBase - cancel switching between tabs

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=6741
Printed Date: 09 May 2025 at 8:40pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTTabExBase - cancel switching between tabs
Posted By: a_kalinovskiy
Subject: CXTTabExBase - cancel switching between tabs
Date Posted: 27 March 2007 at 5:51am
MFC has TCN_SELCHANGING Notification and it supports this
"Returns TRUE to prevent the selection from changing, or FALSE to allow the selection to change."

i need the same in CXTTabExBase with TCN_XT_SELCHANGING

i want to revert last select tab in control by some condition

Thks...





Replies:
Posted By: decembler
Date Posted: 03 July 2007 at 4:01am
Catch the OnNotify Message, set pResult to TRUE and return TRUE to prevent from changing...



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