QMedia Movie area commands

QM_GetControllerPartVisible

QM_GetControllerPartVisible(areaRef; controllerPart; partVisible):error
areaRef Longint Movie area reference
controllerPart Longint Controller part
partVisible Longint Controller part visibility
error Longint Error result

Returns the visibility status of a specific movie controller part in a movie plug-in area.

The movie plug-in area is specified by areaRef.

Parameter controllerPart specifies the controller part.

The part's visibility status is returned in the partVisible parameter. If the movie controller part is currently visible, partVisible is set to 1. If the movie controller part is currently hidden, partVisible is set to 0.

QMedia defines the following constants for specifying controller parts.

qm_MCMovieFrame 1 The movie frame
qm_MCStepButtons 2 The step buttons
qm_MCSpeakerButton 3 The speaker button
qm_MCCustomButton 4 The custom button
qm_VRBackButton 16 The back button of the VR controller
qm_VRZoomButtons 17 The zoom buttos of the VR controller
qm_VRHotSpotButton 18 The hotspot button of the VR controller
qm_VRTranslateButton 19 The translate button of the VR controller
qm_VRHelpText 20 The display of help text in the VR controller
qm_VRHotSpotNames 21 The display of hotspot names in the VR controller

Example

  `Toggle the visibility of the step buttons
 
C_LONGINT($visible)
 
$error:=QM_GetControllerPartVisible (xMovieArea;qm_MCStepButtons;$visible)
 
$visible:=1-$visible
 
$error:=QM_SetControllerPartVisible (xMovieArea;qm_MCStepButtons;$visible)
 

Related commands

QM_SetControllerPartVisible Controls the visibility of a specific movie controller part.

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