Generic Function | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 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-pane`s and the windows of controls (such as `dialog`s) 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-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version