Opening the Playback Window

The following example shows how to use the MCI_OPEN command to set a parent window and create a child of that window.


mciOpen.lpstrElementName = lpstrFile; // Set the filename.

mciOpen.dwStyle = WS_CHILD; // Set the style.

mciOpen.hWndParent = hWnd; // Give a window handle.

if (mciSendCommand(0, MCI_OPEN,


(DWORD)(LPSTR)&mciOpen) == 0)


// Open operation is successful. Continue.


Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database