Previous Up Next

_CRwindow
Create a window. If both x and y coordinates are nil, window is placed randomly on the screen.

ObjWin _CRwindow (
Chn _channel_
ObjWin _father_
I _x_
I _y_
I _width_
I _height_
I _flags_
S _title_
)
Parameters

_channel_
proprietary channel
_father_
father window (may be nil)
_x_
x coordinate
_y_
y coordinate
_width_
width
_height_
height
_flags_
flags :
WN_MINIMIZE window is created as minimized
WN_HIDDEN window is created as hidden
WN_MENU add a menu bar to the window
WN_MINBOX display a minimize icon on the menu bar
WN_SIZEBOX window has a resizable border
WN_NOBORDER window has no border
WN_NOCAPTION window has no title
WN_CHILDINSIDE window is a child window, without title and border
WN_DOWN display a 3d border
WN_DRAGDROP allow drag and drop inside the window
WN_MAX display a maximize icon on the menu bar
_title_
title of the window
Return value

new window