Improvement: simulated mouse click event |
Post Reply |
Author | |
Michl
Senior Member Joined: 14 September 2007 Status: Offline Points: 138 |
Post Options
Thanks(0)
Posted: 31 July 2014 at 4:33am |
Hello
I/we use the feature to editing a cell via mouse double click. In our particular case, the user must first authenticate before being allowed to proceed. (this is done in event XTP_NM_REPORT_REQUESTEDIT) This works fine. But after authentication, the following code is executed in CXTPReportRecordItem::OnDblClick:
This line simulates a click event at the current mouse position. However, if the user shows a dialog before (for whatever reason), it must be borne in mind that mouse position is no longer located at the expected position. I think the click event should fired at absolute mouse coordinates (coordinate of double click event of user) Regards |
|
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 |