Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - TCN_SELCHANGING in CXTTabCtrl
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

TCN_SELCHANGING in CXTTabCtrl

 Post Reply Post Reply
Author
Message
gdlindo View Drop Down
Newbie
Newbie


Joined: 31 October 2003
Location: United States
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote gdlindo Quote  Post ReplyReply Direct Link To This Post Topic: TCN_SELCHANGING in CXTTabCtrl
    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!
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 28 August 2006 at 2:25pm
Hello,
CXTTabCtrl sends TCN_XT_SELCHANGING instead.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
gdlindo View Drop Down
Newbie
Newbie


Joined: 31 October 2003
Location: United States
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote gdlindo Quote  Post ReplyReply Direct Link To This Post 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!
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.062 seconds.