Problem in XTP_NM_REPORT_HYPERLINK in 15. |
Post Reply |
Author | |
Sandro78
Newbie Joined: 05 September 2011 Status: Offline Points: 2 |
Post Options
Thanks(0)
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 |
|
Sandro78
Newbie Joined: 05 September 2011 Status: Offline Points: 2 |
Post Options
Thanks(0)
|
I have resolved using the following option in my report control:
GetReportCtrl().GetBehavior()->SetScheme(xtpReportBehaviorOutlook2003); GetReportCtrl().GetBehavior()->Row->MouseUp->Right->bFocusRowTemporarily = FALSE; |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |