Skip to content

TFrameBitmapInfo

type

TFrameBitmapInfo = record BitmapWidth: LongInt;

Record type used by the OnFrameBitmap event.

This record contains information about the current frame bitmap, and information about current/recent mouse positions and states

BitmapWidth: LongInt

BitmapHeight: LongInt

BitmapBitsPerPixel: LongInt

BitmapLineSize: LongInt

BitmapSize: LongInt

BitmapPlanes: LongInt

BitmapHandle: THandle // handle of the frame bitmap DIB BitmapDataPtr: pByte // pointer to the bitmap data array

BitmapDC: HDC // device context of the frame bitmap

CurrentXMouseLocation: LongInt // current X postion of the mouse

CurrentYMouseLocation: LongInt // current y position of the mouse

LastXMouseDownLocation: LongInt // last X position of the mouse when the button was clicked LastYMouseDownLocation: LongInt // last Y position of the mouse when the button was clicked IsMouseDown: Boolean // true if the mouse button is currently down

LastMouseButtonClicked: TMouseButton // last mouse button clicked

Reserved0: LongInt