Generic FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.1
Unrevised from 10.0 to 10.1.
10.0 version

mci-set-window

Arguments: mci-animation window

This generic function determines the window in which an mci-animation will play back .avi files. The mci-animation instance should already be open (see mci-open) when this function is called. Any subsequent playback of the animation (see mci-play) will show the animation in the specified window. If this function is not called before an animation is played, the animation will appear in a new non-Common Graphics window over which Common Graphics has no control, so it is probably best to always use this function to control where an mci-animation appears.

window should typically be an instance of the frame-window or non-refreshing-pane classes, or a subclass of one of these. Though any type of window will work, text-edit-panes and the windows of controls (such as dialogs) are intended for displaying specialized content and so are probably not suitable. A bitmap-pane would work, but its backing store is not able to redisplay the current frame of the animation and therefore has no advantage for an animation.

See cg-mci.htm for information about MCI support in Common Graphics.


Copyright (c) 1998-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.1
Unrevised from 10.0 to 10.1.
10.0 version