View Full Version : PictureBox click event issue

06-02-2009, 10:55 PM
I have a strange issue that I don't believe should be too difficult, though I'm having a tough time with it.

I have a Windows Form application using a PictureBox to continuously render the frames of some video that's coming in. I'm not able to get click events on top of the rendered video being displayed within the picturebox. If I click to the side (still in the picture box, but where there is no video being rendered) then the click event comes through. Otherwise it ever even enter the event.

I'm not going to post code, because I simply setup the click event via the design page and have a breakpoint in the autogenerated click function. Any ideas why this isn't coming through?

On a side note, if I setup a contextmenustrip, and drag that onto the picturebox, it will correctly popup the context menu on right click over the top of rendering video, so I know it's possible for it to be receiving these clicks. It's just not working. =/

06-16-2009, 11:33 PM
I'm afraid it is completely in the code o.o without posting the code, telling us what language its in or even what program you are using it looks as though nobody can help.