04 2023 档案
摘要:using System.Windows.Interop; public partial class MainWindow : Window { private const int WM_LBUTTONDOWN = 0x0201; private IntPtr _hookID = IntPtr.Ze
阅读全文
摘要:WPF项目中,常状置前的菜单, 控件设备TopMost =true,插拔USB引起触摸点击无效,但鼠标有效果, 怀疑是抢焦点,虽然还是置顶状态,但没有了焦点引起了触摸点击失效,( 如果不设置TopMost =true 不会出现此故障) protected override void OnDeacti
阅读全文