Скачати 12.23 Kb.
MCIWndX OLE Control
What is MCIWndX ?
MCIWndX is a 32-bit OLE control wrapper around Windows’ MCIWnd multimedia window class. The purpose of this class is to allow applications to easily add multimedia functionality to their applications. The MCIWndX control brings this same functionality with even greater ease to any development tool which can host OLE controls, including Microsoft Visual Basic 4.0, Microsoft Visual FoxPro 3.0, Microsoft Access 7.0 and Microsoft Visual C++ 4.0.
The MCIWndX control is derived from and completely compatible with the original MCIWndX VBX provided as part of the Video for Windows 1.1 Developers Kit. However, it has been extended to provide additional functionality and features, making it even more powerful and easy to use.
What’s new in MCIWndX ?
Several new features have been added to MCIWndX:
How to use MCIWndX
Please refer to the MCIWndX documentation in the Video for Windows DK or the MCIWnd documentation in the Win32 SDK for complete information about how to use MCIWndX.
MCIWndX is simply a wrapper for the MCIWnd window class, which is part of Windows. Therefore, most functionality is described in good detail in the MCIWnd reference in the Win32 SDK documentation. The MCIWndX source code shows exactly how the API’s are being used - refer to it when in doubt.
This property determines whether or not the default context menu is enabled or not. When this property is TRUE, your application will not receive any mouse button events (MouseUp, MouseDown, DblClick) for the right mouse button. TRUE by default.
At runtime, this property gives the hWnd of the MCIWnd. This can be used with the MCIWnd API’s and macros (see the SDK documentation) to extend MCIWnd. The control covers most callback situations, so one should be able to do almost anything that can be accomplished using traditional techniques.
This property determines whether or not the ExtendedError event is fired instead of the Error event. FALSE by default.
This property determines whether or not the ExtendedModeChange event is fired instead of the ModeChange event. FALSE by default.
Copies the current frame to the clipboard. For devices which don’t support images (eg waveaudio) and appropriate bitmap is copied to the clipboard instead.
Parameters: ErrorCode As String
Occurs when an error is encountered while executing an MCI command. The ErrorCode parameter contains the message string corresponding to the error.
Parameters: ErrorCode As Long
A new form of the Error event. Instead of the error being provided as a string, it is provided numerically, which makes coding and internationalization easier. This event only fires if WantExtendedError is TRUE.
A new form of the Mode event. Instead of the error being provided as a string, it is provided numerically, which makes coding and internationalization easier. This event only fires if WantExtendedError is TRUE.
Fires when user double-clicks on the control. Does not fire when the user double-clicks the right mouse button and DefaultContextMenuEnabled is TRUE.
Parameters: NotifyCode as Long
Fires when the controls receives an MM_MCINOTIFY message (as a result of performing an operation with the notify flag). The NotifyCode parameter contains the code corresponding to the notify status.
Fires when user pushes the mouse button while the cursor is on the control. Does not fire when the user pushes the right mouse button and DefaultContextMenuEnabled is TRUE.
Fires when user releases the mouse button while the cursor is on the control. Does not fire when the user releases the right mouse button and DefaultContextMenuEnabled is TRUE.
Fires when the control receives an MM_MCISIGNAL message (in reponse to a signal command)
|Методичні вказівки до практичної роботи «Система «PowerShape». Створення сапр за допомогою технології ole»|
Система «PowerShape». Побудова сапр за допомогою технології ole”, з курсів «Комп’ютерні технології у верстатобудуванні» та «Комп’ютерні...
1. /Control questions and tests/Control questions.docx
|Control paper 1|
|List of control questions for examination on||Topics for the final discipline control|
|The questions for final knowledge control||Orthodontics current control of module 1|
|Test control to the final lesson||List of questions for conclusion control|