QMedia Movie area commands

QM_SetAreaVisible

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

Controls the visibility of a movie plug-in area as a whole. The plug-in area includes the movie display area and the controller bar area. Because of the way QuickTime draws movies, it is important to use QM_SetAreaVisible instead of 4D's SET VISIBLE command to hide or show a movie area.

The movie plug-in area is specified by areaRef.

The area's visibility is specified by the areaVisible parameter. If areaVisible is set to 1, the area is made visible. If areaVisible is 0, the area is hidden.

Example

  `Hide the movie plug-in area xMovieArea
 
$error:=QM_SetAreaVisible (xMovieArea;0)
 

Related commands

QM_GetAreaVisible Returns the visibility status of a movie plug-in area.

QMedia © Escape OE
Generated by QDoc 2.8 on Thu, Nov 24, 2011 18:40:07