Search results for query: *

  1. R

    Why do I lose mouse events over a picturebox ?

    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...
  2. R

    Why do I lose mouse events over a picturebox ?

    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...
  3. R

    Why do I lose mouse events over a picturebox ?

    There are no Application.DoEvents() or Form.ShowDialog() calls. Just hiding and unhiding of panels.
  4. R

    Why do I lose mouse events over a picturebox ?

    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.
  5. R

    Why do I lose mouse events over a picturebox ?

    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...
  6. R

    Why do I lose mouse events over a picturebox ?

    I also just tried PictureBox.BringToFront() but this also had no effect.
  7. R

    Why do I lose mouse events over a picturebox ?

    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_ =...
  8. R

    Why do I lose mouse events over a picturebox ?

    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.
  9. R

    Why do I lose mouse events over a picturebox ?

    Thank you for your response. I will try running Spy++ as you suggest.
  10. R

    Why do I lose mouse events over a picturebox ?

    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...
Back
Top Bottom