coco822 Posted October 11, 2023 Report Posted October 11, 2023 Hello, I wanted to use a PictureBox in .NET and perform actions when I moved the mouse. That's when I noticed that the "Mouse Move" event was detected when I was moving around the .NET Control, but that this was no longer the case when the mouse was pressed down. If anyone has any idea how to detect the "Mouse Move" event when the mouse is pressed, and if not, I'd like to know what the mechanism is behind this failure to detect the event. Attached is a VI showing the behavior. Thanks in advance. Mouse Event over .NET Controls.vi Quote
Popular Post dadreamer Posted October 12, 2023 Popular Post Report Posted October 12, 2023 14 hours ago, coco822 said: If anyone has any idea how to detect the "Mouse Move" event when the mouse is pressed As a workaround, what about using the .NET control's own events? Mouse Event over .NET Controls.vi MouseDown CB.vi MouseMove CB.vi 4 Quote
coco822 Posted October 16, 2023 Author Report Posted October 16, 2023 Thank you for your reply, it is indeed a possibility (of which I was unaware) so thank you very much. Have a nice day. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.