Providing Status Updates
MCIWnd uses timers to periodically update information in the window title bar
and scroll bar, and to send notification messages to the parent window. One
timer controls the update period of the active MCIWnd window, and a second timer
controls the update period for MCIWnd windows that are inactive. Your
application can use the MCIWnd timer macros to retrieve the current timer settings and to
adjust the update periods.
You can set the update period used by the active window timer by using the
MCIWndSetActiveTimer macro. This macro sets the period used by MCIWnd to update the trackbar, to
update the playback position reported in the window title bar, and to notify the
parent window that the media has changed. You can retrieve the current update
period used by the active window timer by using the
MCIWndGetActiveTimer macro. The default update period for the active window timer is 500
milliseconds.
You can set the update period used by the inactive window timer by using the
MCIWndSetInactiveTimer macro. This macro sets the period used by MCIWnd to update the trackbar, to
update the playback position reported in the window caption, and to notify the
parent window that the media has changed. You can retrieve the current update
period used by the inactive window timer by using the
MCIWndGetInactiveTimer macro. The default update period for the inactive window timer is 2000
milliseconds.
Your application can simultaneously set the update period for both timers by
using the
MCIWndSetTimers macro. The storage for the value of the update period is limited to 16 bits.
If a larger quantity for either update period is needed, set the timers
individually.
- Software for developers
-
Delphi Components
.Net Components
Software for Android Developers
- More information resources
-
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
- Databases for Amazon shops developers
-
Amazon Categories Database
Browse Nodes Database