Manages Media Control Interface (MCI) devices like sound boards, MIDI sequencers, CD-ROM drives, audio players, videodisc players, etc. Add voice note recording to your dialog, or play spoken announcements.
This control provides push buttons that issue MCI commands to supported devices. The application should have the MCI device open before the user is allowed to push buttons. When recording audio, open a new file to be sure that the data file is in a format compatible with the system's recording capability. Issue the MCI Save command before closing the device to store the recording in the file.
Note: Non-Common Control properties are prefaced with "mci", suppressed in the following for greater legibility.
Properties
In addition to the properties listed below, a Control tab provides access to certain frequently used form properties for this control. See the Form Properties topic for information on those properties.
|
|
MMControl (Multimedia MCI Control) |
|
General |
|
|
DeviceType |
A string specifying type of MCI device to open: AVIVideo, CDAudio, DAT, DigitalVideo, MMMovie, Other, Overlay, Scanner, Sequencer, VCR, Videodisc or WaveAudio. |
|
FileName |
file to be opened by Open or saved by Save. To change FileName at run time, must close and reopen the control. |
|
MousePointer |
The type of mouse pointer displayed when over the Multimedia Control. Choose from 16 different types plus a custom pointer |
|
Orientation |
Horizontal (Default) or Vertical Multimedia Control. |
|
BorderStyle |
FixedSingle (default) or None. None may be used with Flat Appearance to achieve an uncaptioned rectangle of background color. |
|
RecordMode |
Either RecordInsert or RecordOverwrite. Must try and see with a device. WaveAudio devices support Insert mode only. |
|
OLEDropMode |
Set to None (default) if the Multimedia Control does not accept OLE drops and is to display the No Drop cursor if an OLE drop is attempted. Set to Manual, the Multimedia Control will trigger OLE drop events, allowing programs to handle the OLE drop operation in code. |
|
UpdateInterval |
The number of milliseconds between successive StatusUpdate events. |
|
Frames |
The number of frames Step or Back commands will move forward or backward. |
|
Silent |
True - Sound is turned off. False - any sound is played. |
|
Shareable |
True - more than one control or application can open this device. False - only one at a time. |
|
AutoEnable |
True (Default) - enable/disable buttons whose functions make sense or not given the device's capabilities. False - buttons set by properties specified. True only works if the button is otherwise enabled in controls properties. |
|
Enabled |
True or False. True means the object can respond to user-generated events, false prevents it from responding. |
|
|
|
|
Controls |
|
|
button |
Prev, Next, Step, Back, Pause, Play, Record, Stop or Eject. |
|
|
|
|
button Enabled |
True - enable this button. False - button always disabled. |
|
button Visible |
True - show this button. False - hide this button. |
|
|
|
|
Picture |
|
|
MouseIcon |
Custom icon to use when the MousePointer property is set to 99. Like Visual Basic, will not load animated cursor (.ani) files. |