The information in this article applies to:
SUMMARY
The Multimedia Device Control (MCI.VBX) TimeFormat property does not
support all format settings with all device types. When you assign a value
to TimeFormat that is not supported by the device, the TimeFormat retains
its previous setting. MORE INFORMATIONTo determine if the current device supports a particular TimeFormat setting, assign the value to TimeFormat. Then check TimeFormat to see if it returns the value assigned. For example:
Some of the time formats, such as MCI_FORMAT_TMSF, provide four separate
byte size numbers packed into one four byte long integer. The following
sample statements show how you can extract the four bytes into separate
variables:
The least significant byte is stored in byte1 and the most significant byte
is stored in byte4.The following list shows all possible settings for TimeFormat: 0 MCI_FORMAT_MILLISECONDSThe TimeFormat setting MCI_FORMAT_MSF is described in the README.TXT file but is missing from the "Microsoft Visual Basic Professional Features Custom Control Reference" for version 2.0. The following description of MCI_FORMAT_MSF appears in the README.TXT file: 2 MCI_FORMAT_MSF Minutes, seconds, and frames are packed into aThe TimeFormat property affects the following properties. PositionMicrosoft has confirmed that this information should be included in the "Microsoft Visual Basic Professional Features Custom Control Reference" for version 2.0. We will post new information here when the documentation has been updated with this additional information. Additional query words: 1.00 2.00 kbdocerr
Keywords : |
Last Reviewed: August 31, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |