QMedia
![]() |
![]() ![]() |
QM_SetKeysEnabled(areaRef; keysEnabled):error | |||
![]() |
areaRef | Longint | Movie area reference |
![]() |
keysEnabled | Longint | Keyboard handling status |
![]() |
error | Longint | Error result |
Enables/disables the handling of keystrokes by the movie controller in a movie plug-in area.
The movie plug-in area is specified by areaRef.
Parameter keysEnabled specifies how the area will handle keystrokes. If keysEnabled is set to 1, the area will respond to keystrokes. If keysEnabled is set to 0, the area will ignore keystrokes.
Example
`Disable keystrokes in plug-in area xMovieArea $error:=QM_SetKeysEnabled (xMovieArea;0) |
Related commands
QM_GetKeysEnabled | Returns the keystroke handling status. |