Generic FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.2
Unrevised from 8.1 to 8.2.
8.1 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-2016, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.1 page.
Created 2010.1.21.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.2
Unrevised from 8.1 to 8.2.
8.1 version