Print Page | Close Window

XTPTabControl catching right-click event

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=7807
Printed Date: 27 September 2024 at 5:28pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: XTPTabControl catching right-click event
Posted By: Kathy
Subject: XTPTabControl catching right-click event
Date 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



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


Posted By: Kathy
Date Posted: 16 August 2007 at 11:22am
Thanks!



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