QMediaLight Movie area commands

QM_SetKeysEnabled

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.

QMediaLight © Escape OE
Generated by QDoc 2.8 on Thu, Oct 8, 2009 18:08:14