Retrieve pnt from contextMenuInput
Posted: 5 Mar 2014 14:04
Hi,
I am very new to visual prolog and want to find out how I can get the X,Y coordinates of
a point from the contextMenuInput.
I am using this in the OnContextMenu event. onContextMenu(_Source, _INP) = window::defaultContextMenuHandling
contextMenuInput =
mouse(vpiDomains::pnt CursorPosition);
keyboard.
I see the point and its X,Y coordinates in the debugger, but I don't know how to extract these from the _INP variable.
I am very new to visual prolog and want to find out how I can get the X,Y coordinates of
a point from the contextMenuInput.
I am using this in the OnContextMenu event. onContextMenu(_Source, _INP) = window::defaultContextMenuHandling
contextMenuInput =
mouse(vpiDomains::pnt CursorPosition);
keyboard.
I see the point and its X,Y coordinates in the debugger, but I don't know how to extract these from the _INP variable.