TOnVideoKeyPress

Prev

Next

 






































































































Type of the TOnKeyPress event.


Unit
VidGrab

Declaration
TOnVideoKeyPress=procedure(Sender: TObject; VideoWindow: LongInt; var Key: Char; PhysicalKey: LongInt; ShiftState: TShiftState) of object;


typedef void __fastcall(__closure *TOnVideoKeyPress)(System::TObject *Sender, int VideoWindow, char &Key, int PhysicalKey, Classes::TShiftState ShiftState);

Description

Type of the TOnKeyPress event.

Note:
VideoWindow returns the number of the video window where the event occured:
- 0 (by default) for single display,
- 0 or 1 when using dual display, according to the video window on which the event occured.