Ejemplo n.º 1
0
 void uiNodeMonitor_OnUiKeyboardEvent(UiEventInfo eventInfo)
 {
     LogTextBox.AppendText("OnUiKeyboardEvent fired : monitorID: " + eventInfo.monitorID + ", hwnd: " + eventInfo.targetWindow.hWnd + ", ScanCode: " + eventInfo.scanCode + "\r\n");
     //Pass the event to control
     if (Blocking_Combo.SelectedIndex == 0)
     {
         eventInfo.forward = UiEventMode.UI_EVENT_FORWARD;
     }
     else
     {
         eventInfo.forward = UiEventMode.UI_EVENT_BLOCK;
     }
 }
Ejemplo n.º 2
0
 void uiNodeMonitor_OnUiMouseEvent(UiEventInfo eventInfo)
 {
     LogTextBox.AppendText("OnUiMouseEvent fired : monitorID: " + eventInfo.monitorID + ", hwnd: " + eventInfo.targetWindow.hWnd + ", x: " + eventInfo.position.left + ", y:" + eventInfo.position.top + "\r\n");
     //Pass the event to control
     if (Blocking_Combo.SelectedIndex == 0)
     {
         eventInfo.forward = UiEventMode.UI_EVENT_FORWARD;
     }
     else
     {
         eventInfo.forward = UiEventMode.UI_EVENT_BLOCK;
     }
 }
Ejemplo n.º 3
0
 void uiNodeMonitor_OnUiKeyboardEvent(UiEventInfo eventInfo)
 {
     LogTextBox.AppendText("OnUiKeyboardEvent fired : monitorID: " + eventInfo.monitorID + ", hwnd: " + eventInfo.targetWindow.hWnd + ", ScanCode: " + eventInfo.scanCode + "\r\n");
     //Pass the event to control
     if (Blocking_Combo.SelectedIndex == 0)
         eventInfo.forward = UiEventMode.UI_EVENT_FORWARD;
     else
         eventInfo.forward = UiEventMode.UI_EVENT_BLOCK;
 }
Ejemplo n.º 4
0
 void uiNodeMonitor_OnUiMouseEvent(UiEventInfo eventInfo)
 {
     LogTextBox.AppendText("OnUiMouseEvent fired : monitorID: " + eventInfo.monitorID + ", hwnd: " + eventInfo.targetWindow.hWnd + ", x: " + eventInfo.position.left  + ", y:" + eventInfo.position.top + "\r\n");
     //Pass the event to control
     if (Blocking_Combo.SelectedIndex == 0)
         eventInfo.forward = UiEventMode.UI_EVENT_FORWARD;
     else
         eventInfo.forward = UiEventMode.UI_EVENT_BLOCK;
 }
Ejemplo n.º 5
0
 void UiSystemEvents_OnUiKeyboardEvent(UiEventInfo eventInfo)
 {
     LogTextBox.AppendText("OnMonitorHotkeyEvent fired  x: " + eventInfo.position.left + ", y: " + eventInfo.position.top + ", id:" + eventInfo.monitorID + "\r\n");
 }
Ejemplo n.º 6
0
 void UiSystemEvents_OnUiMouseEvent(UiEventInfo eventInfo)
 {
     LogTextBox.AppendText("OnMonitorMouseEvent fired : hwnd: " + eventInfo.targetWindow.hWnd + ", x1: " + eventInfo.position.left + ", y1: " + eventInfo.position.top + ", x2:" + eventInfo.position.right + ", y2: " + eventInfo.position.bottom + "\r\n");
 }
Ejemplo n.º 7
0
 void UiSystemEvents_OnUiKeyboardEvent(UiEventInfo eventInfo)
 {
     LogTextBox.AppendText("OnMonitorHotkeyEvent fired  x: " + eventInfo.position.left + ", y: " + eventInfo.position.top + ", id:" + eventInfo.monitorID + "\r\n");
 }
Ejemplo n.º 8
0
 void UiSystemEvents_OnUiMouseEvent(UiEventInfo eventInfo)
 {
     LogTextBox.AppendText("OnMonitorMouseEvent fired : hwnd: " + eventInfo.targetWindow.hWnd + ", x1: " + eventInfo.position.left + ", y1: " + eventInfo.position.top + ", x2:" + eventInfo.position.right + ", y2: " + eventInfo.position.bottom + "\r\n");
 }