Description |
Parent class: XMediaWindow
XVideo |
XFrameWindow * owner the owner of the video
Construct a video-window. To use this control you must invoke the multimedia-library!
~XVideo |
The destructor MUST be called before the message-loop of an aplication is destroyed. Therefore overwrite QueryForClose() of the owning framewindow and call the destructor of XVideo in that function.
SetViewPort |
XFrameWindow * window the window to show the video
LONG resultcode
Set a framewindow as the viewport where videos are displayed
SetVolume |
USHORT volume volume in percent
LONG resultcode
Set volume
CloseDevice |
LONG resultcode
Close the device
OpenDevice |
LONG resultcode
Open the device