简体   繁体   中英

Capasitive Touch screen not propogatinng events

I have a WPF application which implements drag and drop operations. Once i created any window or message box from the Dropped event , it is to getting any events say mouse down or preview mouse down etc.

private void Button_PreviewMouseDown(object sender, MouseButtonEventArgs e)
{
          DragDrop.DoDragDrop(this, "DropData", DragDropEffects.Copy);
}

private void Button_Drop(object sender, DragEventArgs e)
{
  MessageBox.Show(" dropped data on event");
}

The problem is

When it run this sample in CAPASITIVE TOUCH SCREEN i am not able to click on the MESSAGE BOX buttons (OK Or CANCEL )

Any help will be appreciated!...

我通过在drop事件上使用线程来解决问题。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM