OPENWINDOW |
Top Previous Next |
Syntax INT = OPENWINDOW(win as WINDOW,l as INT,t as INT,w as INT,h as INT,flags as UINT,parent as POINTER,title as STRING,procedure as UINT) Description Creates a new window. Parameters win - WINDOW variable. l, t, w, h - Position and dimensions of new window. flags - Style flags of window. parent - Windows parent or NULL. title - Caption text for window. procedure - Address of subroutine to process messages for this window. Return value Returns 0 on failure, 1 if window was successfully created. Remarks See Also: CLOSEWINDOW, Creating Windows Example usage REM define a window variable |