QMedia
![]() |
![]() ![]() |
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. |