Name
send_mouse_drag_eventsend_mouse_drag_eventSendMouseDragEventsend_mouse_drag_eventSendMouseDragEventSendMouseDragEvent — Send an event to a buffer window signaling a mouse drag event.
void SendMouseDragEvent(const HTuple& WindowHandle, const HTuple& Row, const HTuple& Column, const HTuple& Button, HTuple* Processed)
HString HWindow::SendMouseDragEvent(const HTuple& Row, const HTuple& Column, Hlong Button) const
HString HWindow::SendMouseDragEvent(Hlong Row, Hlong Column, Hlong Button) const
static HString HDrawingObject::SendMouseDragEvent(const HWindow& WindowHandle, const HTuple& Row, const HTuple& Column, Hlong Button)
static HString HDrawingObject::SendMouseDragEvent(const HWindow& WindowHandle, Hlong Row, Hlong Column, Hlong Button)
static void HOperatorSet.SendMouseDragEvent(HTuple windowHandle, HTuple row, HTuple column, HTuple button, out HTuple processed)
string HWindow.SendMouseDragEvent(HTuple row, HTuple column, int button)
string HWindow.SendMouseDragEvent(int row, int column, int button)
static string HDrawingObject.SendMouseDragEvent(HWindow windowHandle, HTuple row, HTuple column, int button)
static string HDrawingObject.SendMouseDragEvent(HWindow windowHandle, int row, int column, int button)
send_mouse_drag_eventsend_mouse_drag_eventSendMouseDragEventsend_mouse_drag_eventSendMouseDragEventSendMouseDragEvent sends an event
at the position (RowRowRowRowRowrow, ColumnColumnColumnColumnColumncolumn) to the buffer window
WindowHandleWindowHandleWindowHandleWindowHandleWindowHandlewindowHandle, signaling that the mouse button encoded by
ButtonButtonButtonButtonButtonbutton is been dragged. Please refer to
get_mbuttonget_mbuttonGetMbuttonget_mbuttonGetMbuttonGetMbutton to see how to encode ButtonButtonButtonButtonButtonbutton.
If the event could be processed, send_mouse_drag_eventsend_mouse_drag_eventSendMouseDragEventsend_mouse_drag_eventSendMouseDragEventSendMouseDragEvent returns
'true'"true""true""true""true""true" in ProcessedProcessedProcessedProcessedProcessedprocessed. If no action for the event could be
determined (e.g., because there is no drawing object below the mouse
position), 'false'"false""false""false""false""false" is returned in ProcessedProcessedProcessedProcessedProcessedprocessed. In this case
the caller may determine an action for the event.
The operators send_mouse_down_eventsend_mouse_down_eventSendMouseDownEventsend_mouse_down_eventSendMouseDownEventSendMouseDownEvent, send_mouse_up_eventsend_mouse_up_eventSendMouseUpEventsend_mouse_up_eventSendMouseUpEventSendMouseUpEvent,
send_mouse_drag_eventsend_mouse_drag_eventSendMouseDragEventsend_mouse_drag_eventSendMouseDragEventSendMouseDragEvent and send_mouse_double_click_eventsend_mouse_double_click_eventSendMouseDoubleClickEventsend_mouse_double_click_eventSendMouseDoubleClickEventSendMouseDoubleClickEvent are
the only means to manipulate drawing objects in buffer windows.
send_mouse_drag_eventsend_mouse_drag_eventSendMouseDragEventsend_mouse_drag_eventSendMouseDragEventSendMouseDragEvent depends on the library libcanvas, which might
not be available on embedded systems.
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Window handle of the buffer window.
RowRowRowRowRowrow (input_control) point.y → HTupleHTupleHTupleVARIANTHtuple (integer / real) (int / long / double) (Hlong / double) (Hlong / double) (Hlong / double) (Hlong / double)
Row coordinate of the mouse cursor in the image
coordinate system.
Column coordinate of the mouse cursor in the image
coordinate system.
'true', if HALCON processed the event.
send_mouse_drag_eventsend_mouse_drag_eventSendMouseDragEventsend_mouse_drag_eventSendMouseDragEventSendMouseDragEvent returns the value 2 (H_MSG_TRUE) if the window
handle WindowHandleWindowHandleWindowHandleWindowHandleWindowHandlewindowHandle corresponds to a window of valid type, and the
event is properly encoded. Otherwise, an exception is raised.
open_windowopen_windowOpenWindowopen_windowOpenWindowOpenWindow
send_mouse_up_eventsend_mouse_up_eventSendMouseUpEventsend_mouse_up_eventSendMouseUpEventSendMouseUpEvent,
send_mouse_down_eventsend_mouse_down_eventSendMouseDownEventsend_mouse_down_eventSendMouseDownEventSendMouseDownEvent,
send_mouse_double_click_eventsend_mouse_double_click_eventSendMouseDoubleClickEventsend_mouse_double_click_eventSendMouseDoubleClickEventSendMouseDoubleClickEvent,
open_windowopen_windowOpenWindowopen_windowOpenWindowOpenWindow
Foundation