object

      Object associated with this media control interface command. The object can be one of the following:

      • Device type
      • Device name
      • Filename
      • Alias
      SOURCE
        Sets the source rectangle to the default size and position. The source rectangle specifies the portion of the video source which will be displayed and is relative to the lower-left corner of the video source.
      DESTINATION
        Sets the default destination rectangle to the size of the video window. Therefore, the entire video window displays video. This destination rectangle will automatically be adjusted as the window is sized.
      SOURCE DESTINATION
        Sets both the source and destination rectangles to their respective defaults.
      SOURCE AT rect
        The source clipping rectangle specifies the portion of the source video which will be displayed. The rectangle is relative to the lower-left corner of the video source.
      DESTINATION AT rect
        The destination rectangle specifies where in the video window that video will be displayed. All areas within the video window that are outside the destination rectangle will be frozen.

        The rectangle is relative to the window origin and is specified as X1 Y1 X2 Y2. The coordinates X1 Y1 specify the lower-left corner and X2 Y2 specify the upper-right corner.

      WINDOW AT rect
        Moves and/or sizes the default video window by specifying a valid rectangle and the following options:

        Note: The MOVE and SIZE keywords can both be specified, in which case, the default video window is moved and sized at the same time.

        MOVE

          Moves the default video window to the X1 Y1 coordinates specified in the rectangle. Window coordinates are relative to the parent window.

          Notes:

          (1) All coordinates of the rectangle (X1 Y1 X2 Y2) must be specified, but X2 Y2 are ignored if the size option is not specified.

          (2) This option will not affect an application-supplied alternate video window.

        SIZE
          Sizes the default video window to the difference of the coordinates ((X2 - X1) + 1) and ((Y2 - Y1) + 1). All coordinates of the rectangle (X1 Y1 X2 Y2) must be specified.

          Note: This option will not affect an application-supplied alternate video window.

        WAIT
          The command is executed synchronously. The function waits until the requested action is complete before returning to the application.
        NOTIFY
          The command is executed asynchronously, allowing control to be returned immediately to the application. When the requested action is complete, an MM_MCINOTIFY message is sent to the application window procedure.


        [Back] [Next]