TVideoGrabber.GetTranslatedCoordinates

Prev

Next

TVideoGrabber

Methods

 




































































































Used to retrieve the translated coordinates of the mouse


Declaration
function GetTranslatedCoordinates (DisplayIndex: LongInt; NativeX: LongInt; NativeY: LongInt; var TranslatedX: LongInt; var TranslatedY: LongInt): Boolean;


__fastcall GetTranslatedCoordinates(int DisplayIndex, int NativeX, int NativeY, int &TranslatedX, int &TranslatedY);


Function GetTranslatedCoordinates (DisplayIndex as Long, NativeX as Long, NativeY as Long, ByRef TranslatedX as Long, ByRef TranslatedY as Long) as Boolean

Description

Invoke GetTranslatedCoordinates to retrieve the tranlated coordinates (the coordinates into the video window, left/top corner = 0,0 ) of the mouse events when TranslateMouseCoordinates is disabled.

This function can be invoked from the following events:
OnMouseDown
OnMouseUp
OnMouseMove
OnMouseWheel
OnDragOver
OnDragDrop