Previous Up Next

_CRscrollWindow
Create a window with scroll boxes. Actually it creates two windows : one real window and one virtual window which can shift inside the real window.

[ObjWin ObjWin] _CRscrollWindow (
Chn _channel_
ObjWin _father_
I _x_
I _y_
I _width_
I _height_
I _virtual_width_
I _virtual_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
_virtual_width_
virtual width
_virtual_height_
virtual 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
WN_HSCROLL display a horizontal scroll box
WN_VSCROLL display a vertical scroll box
_title_
title of the window
Return value

a couple of new windows (real window, virtual window).