Print Page | Close Window

Problem in XTP_NM_REPORT_HYPERLINK in 15.

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=18950
Printed Date: 16 November 2024 at 5:01pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Problem in XTP_NM_REPORT_HYPERLINK in 15.
Posted By: Sandro78
Subject: Problem in XTP_NM_REPORT_HYPERLINK in 15.
Date Posted: 05 September 2011 at 4:49am
I recently installed Codejoke toolkit 15.3.1 and I have noticed an anomaly in the XTP_NM_REPORT_HYPERLINK event,  that was not present in earlier versions.

I have created a ReportView where some of the slots contain hyper links, and the behavior of these depends on whether you click on it with the right or with the  left mouse button.

If you click the left mouse button is an report view is opened, if you click with the right mouse button a context menu appears that he used to handle that particular slot.

The problem that presents itself and the following.

Clicking with the left button we have the following message queue:

NM_CLICK
XTP_NM_REPORT_HYPERLINK

and if we click with the right mouse button we have the following message queue:

NM_CLICK
XTP_NM_REPORT_HYPERLINK  (Was not present in the earlier version)
NM_RCLICK

In previous versions of Codejoke clicking  with the right button, 
XTP_NM_REPORT_HYPERLINK was not included in the message queue, so to have the following message queue:


NM_CLICK
NM_RCLICK

How do I remove the event XTP_NM_REPORT_HYPERLINKmessage from the second  queue?

Thank you for any help



Replies:
Posted By: Sandro78
Date Posted: 06 September 2011 at 9:46am
I have resolved using the following option in my report control:

GetReportCtrl().GetBehavior()->SetScheme(xtpReportBehaviorOutlook2003);
GetReportCtrl().GetBehavior()->Row->MouseUp->Right->bFocusRowTemporarily = FALSE;



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