467,894 Members | 1,445 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,894 developers. It's quick & easy.

Get Mouse Coordinates of Form w/ Video

Hi, I have a form that has a video "inserted" at the form's Handle.
Like so:

'//Create Capture Window
capGetDriverDescriptionA(0, lpszName, 100, lpszVer, 100) '// Retrieves
driver info
lwndC = capCreateCaptureWindowA(lpszName, WS_VISIBLE Or WS_CHILD, 0,
0, DefaultWidth, DefaultHeight, Me.Handle.ToInt32, 0)

Now, when I try placing Debug.WriteLine(e.X & "," & e.Y) at the form's
MouseMove event I get nothing because the Video is on top of the form.
If I temporary remove the video or not initialize the video, I could
easily capture the mouse coordinates of the form.

My question is, having a video "inserted" at the form's Handle, how I
can I STILL be able to capture the mouse coordinate of the form?
Because so far, I'm having no MouseMove event at all for the form
while video is running.

Nov 21 '05 #1
  • viewed: 1134

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Jonne | last post: by
2 posts views Thread by Robin Senior | last post: by
4 posts views Thread by Henry Wu | last post: by
1 post views Thread by finerrecliner | last post: by
4 posts views Thread by atn2002 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.