C#视频播放器在双击播放屏幕时捕获鼠标事件 [英] C # video player to capture the mouse events when double-click the playback screen

查看:121
本文介绍了C#视频播放器在双击播放屏幕时捕获鼠标事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

C#视频播放器,使用DirectX,将其所有者设置为窗体面板控件.我想使用鼠标钩来捕获鼠标双击事件,但是当我双击时,我不知道如何限制播放屏幕单击以执行适当的操作.无论我现在在哪里双击都将执行适当的操作,以及如何限制鼠标左键双击事件必须执行的操作?谢谢.

C # video player by using directx, set its owener to a form panel control.I want to use the mouse hook to capture mouse double click event, but I do not know how to restrict in the playback screen when I double-click for the appropriate action.No matter where I am now double-click will perform the appropriate action, and how to limit that must be carried out by the left mouse button double-click events? Thank you.

推荐答案

如果使用Google,可能会找到一些方法.
If you Google it, you might find some ways to do it.


这篇关于C#视频播放器在双击播放屏幕时捕获鼠标事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆