Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - XTPTabControl catching right-click event
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

XTPTabControl catching right-click event

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


Joined: 15 August 2007
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote Kathy Quote  Post ReplyReply Direct Link To This Post Topic: XTPTabControl catching right-click event
    Posted: 15 August 2007 at 3:08pm
Hello,
 
I'm trying to catch the Right click event in tabs created by CXTPTabControl.  I looked at the sample MDITabWindow, tried it out and had a linking problem.  The problem I have is with the WM_XTP_PRETRANSLATEMOUSEMSG message.  I tried looking for this message in my solution, but couldn't find it.  There were many other XTP messages but not the one I mentioned earlier.  Does anyone know if I have to define it somewhere else or am I missing something?
 
I'm coding in C++...any help will be greatly appreciated!
 
Thanks,
Kathy
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


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: 16 August 2007 at 1:59am
Hi,
 
WM_XTP_PRETRANSLATEMOUSEMSG is for CXTPMDITabClient.
just override this class and catch WM_RBUTTONDOWN message.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Kathy View Drop Down
Newbie
Newbie


Joined: 15 August 2007
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote Kathy Quote  Post ReplyReply Direct Link To This Post Posted: 16 August 2007 at 11:22am
Thanks!
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.156 seconds.