API referenceRendering & Viewer

rasMouseMove2

Nominally: object-hit-testing-aware mouse handlers that

C
TPDFCursor __stdcall rasMouseDown2(IPGC CachePtr, int32_t X, int32_t Y, TPDFObjectInfo* Info);
TPDFCursor __stdcall rasMouseDown3(IPGC CachePtr, int32_t PageNum, int32_t X, int32_t Y, TPDFObjectInfo* Info);
TUpdScrollbar __stdcall rasMouseMove2(IPGC CachePtr, HWND hWnd, TPDFMouseKeys Keys, int32_t* ScrollX, int32_t* ScrollY, int32_t X, int32_t Y, TPDFObjectInfo* Info);
TUpdScrollbar __stdcall rasMouseMove3(IPGC CachePtr, TPDFMouseKeys Keys, int32_t PageNum, int32_t X, int32_t Y, TPDFObjectInfo* Info);
TPDFCursor __stdcall rasMouseUp2(IPGC CachePtr, int32_t X, int32_t Y, TPDFObjectInfo* Info);
TPDFCursor __stdcall rasMouseUp3(IPGC CachePtr, int32_t PageNum, int32_t X, int32_t Y, TPDFObjectInfo* Info);
TPDFCursor __stdcall rasMouseDblClick(IPGC CachePtr, int32_t X, int32_t Y, TPDFObjectInfo* Info);
TPDFCursor __stdcall rasMouseDblClickV3(IPGC CachePtr, uint32_t PageNum, int32_t X, int32_t Y, TPDFObjectInfo* Info);
Delphi
function rasMouseDown2(CachePtr: IPGC; X, Y: Integer; var Info: TPDFObjectInfo): TPDFCursor; stdcall;
function rasMouseDown3(CachePtr: IPGC; PageNum, X, Y: Integer; var Info: TPDFObjectInfo): TPDFCursor; stdcall;
function rasMouseMove2(CachePtr: IPGC; hWnd: HWND; Keys: TPDFMouseKeys; var ScrollX, ScrollY: Integer; X, Y: Integer; var Info: TPDFObjectInfo): TUpdScrollbar; stdcall;
function rasMouseMove3(CachePtr: IPGC; Keys: TPDFMouseKeys; PageNum, X, Y: Integer; var Info: TPDFObjectInfo): TUpdScrollbar; stdcall;
function rasMouseUp2(CachePtr: IPGC; X, Y: Integer; var Info: TPDFObjectInfo): TPDFCursor; stdcall;
function rasMouseUp3(CachePtr: IPGC; PageNum, X, Y: Integer; var Info: TPDFObjectInfo): TPDFCursor; stdcall;
function rasMouseDblClick(CachePtr: IPGC; X, Y: Integer; var Info: TPDFObjectInfo): TPDFCursor; stdcall;
function rasMouseDblClickV3(CachePtr: IPGC; PageNum: Cardinal; X, Y: Integer; var Info: TPDFObjectInfo): TPDFCursor; stdcall;

Purpose. Nominally: object-hit-testing-aware mouse handlers that additionally report which annotation/field/etc. is under the cursor (Info), with 3/V3 variants scoping the hit-test to an explicit page.

Description — all eight are confirmed complete stubs. Every one of these functions is a single-line body that discards every parameter and returns a zero-valued enum: Result := TPDFCursor(0) (six functions) or Result := TUpdScrollbar(0) (the two Move variants). Info is never written by any of them, CachePtr is never even resolved (no GetCache call), and no cache state is touched — these are pure ABI placeholders. This SDK's *only* real click-driven selection behavior is the plain rasMouseDown/rasMouseMove/ rasMouseUp trio above; there is no working double-click behavior at all, and no mouse event in this entire cluster reports object-hit-test information — a caller wanting that must instead use the separate, explicitly-invoked rasGetObjTypeAt/rasSelectObject functions (Selection, Text, Objects, and Links).

Parameters.

ParameterDescription
CachePtr, X, Y, PageNum, Keys, hWnd, ScrollX, ScrollYAll accepted but never read — the function body never resolves CachePtr at all.
InfoNever written — always left at whatever the caller passed in.

Return value. Always TPDFCursor(0) or TUpdScrollbar(0) (whichever the declared return type is) — not a meaningful cursor or scrollbar-update signal.

C# (P/Invoke)

wrappers/dotnet/LumasPdf.cs
public static extern uint rasMouseMove2(IntPtr CachePtr, UIntPtr hWnd, uint Keys, ref int ScrollX, ref int ScrollY, int X, int Y, ref TPDFObjectInfo Info);
Area
Rendering & Viewer
Category

Rasterizer/Rendering

Exported names

rasMouseMove2

String variants

The …A form takes UTF-8, …W takes UTF-16; a bare name aliases the ANSI form.

See working code

Worked examples — complete programs in ten languages.