VIDEO.Create |
![]() ![]() |
nControl = VIDEO.Create( BYVAL name AS STRING = "", BYVAL style AS INTEGER = WS_VISIBLE, BYVAL left AS INTEGER = 0, BYVAL top AS INTEGER = 0, BYVAL right AS INTEGER = 300, BYVAL bottom AS INTEGER = 200, BYVAL parent AS HANDLE = NULL, BYVAL id AS INTEGER = 0 ) AS INTEGER
Creates a new Video Control in a window. If parent window is NULL then a new window is created.
Returns 0 if failed.
Example:
DIM nControl AS INTEGER nControl = VIDEO.Create( "Video", WS_VISIBLE, 0, 0, 320, 240, NULL, 1 )
|