We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

MouseDown propagation to custom control is delayed

Thread ID:

Created:

Updated:

Platform:

Replies:

57867 Mar 13,2007 10:42 AM UTC Mar 13,2007 04:54 PM UTC WinForms 1
loading
Tags: GridControl
ralph_lachance
Asked On March 13, 2007 10:42 AM UTC

Hello,

re 4.4.0.51 (grid control)

It appears that a mousedown event does not propagate to a custom control (hosted in grid) until mouseup. I gather the grid control is not forwarding the actual mouse event, but spoofing it after the fact.

How can we obtain the true mousedown in our grid-hosted control?

Administrator [Syncfusion]
Replied On March 13, 2007 04:54 PM UTC

Hi Ralph,

You can try firing a fake click. There is a helper method in Shared that does this for you, Syncfusion.Drawing.ActiveXSnapshot.FakeLeftMouseClick. You could maybe try this in the grid.MouseDown event. You would want to make sure the point is in the grid's corrdinate's system (grid.PointToClient(Control.MousePosition) and pass the grid as the control). Or, you may need to do it in another event.

Please refer this.
http://www.syncfusion.com/support/Forums/message.aspx?&MessageID=34829

Best regards,
Haneef

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;