MouseDown propagation to custom control is delayed

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?

1 Reply

AD Administrator Syncfusion Team 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

Loader.
Up arrow icon