I mentioned in my original post that I was simulating a Left Mouse Click, but that it hadn't worked.
When I put everything back the way it used to be...
And I added two consecutive LeftMouseClicks...
It worked!!!
This is the LeftMouseClick code...
The strangest thing....
Up until now, on the flow panel that contains the thumbnails, I was left-clicking to select an image and right-clicking to zoom the image (by hiding the flow panel and showing the picturebox.
When I switch this around and left-click to zoom the image and right-click to...
The mouse move event is being correctly handled as soon as I left-click on the picture box. Even though events are obviously occurring, as shown by Spy++, somehow the picturebox isn't picking it up until after I click on it. This whole thing is very frustrating.
This is the Spy++ output immediately after I click the thumbnail (when the mouse events do not work) and after I left-click the picturebox (LBUTTONDOWN).
I cannot see any difference at all. The mouse MOUSEMOVE event is still firing and coordinates are showing (which match the coordinates I am...
I compiled ways of determining the control from a variety of sources. All of these return the PictureBox as the control with the focus, regardless of when I call the ShowFocus() method below. So apparently it is not a "Focus" problem.
private void ShowFocus()
{
var _C_ =...
I tried running Spy++. Not sure exactly what I was looking for, but I didn't see anything that I thought would be helpful. Most of the threads had blank messages.
This is regarding a WinForms application written in c# using .Net 4.7.2.
I have a form that has a Top/Down splitter panel. The lower split panel contains Left/Right splitter panel. The Right split panel contains two panels, only one of which is visible at any given time: one...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.