QMediaLight Movie area commands

QM_GetAreaVisible

QM_GetAreaVisible(areaRef; areaVisible):error
areaRef Longint Area reference
areaVisible Longint Area visibility
error Longint Error result

Returns the visibility status of a movie plug-in area. The plug-in area includes the movie display area and the controller bar area.

The movie plug-in area is specified by areaRef.

The area's visibility status is returned in the areaVisible parameter. If the area is currently visible, areaVisible is set to 1. If the area is currently hidden, areaVisible is set to 0.

Example

  `Toggle the visibility of movie plug-in area xMovieArea
 
C_LONGINT($visible)
 
$error:=QM_GetAreaVisible (xMovieArea;$visible)
 
$visible:=1-$visible
 
$error:=QM_SetAreaVisible (xMovieArea;$visible)
 

Related commands

QM_SetAreaVisible Controls the visibility of a movie plug-in area as a whole.

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