109 lines
73 KiB
Plaintext
109 lines
73 KiB
Plaintext
1
|
||
|
||
Medley for the Novice, Release 2.0
|
||
1
|
||
|
||
Medley for the Novice, Release 2.0
|
||
12. WINDOWS AND REGIONS
|
||
1
|
||
|
||
12. WINDOWS AND REGIONS
|
||
1
|
||
|
||
|
||
"12"12. WINDOWS AND REGIONS
|
||
6
|
||
|
||
|
||
Windows(WINDOWS NIL Windows NIL ("12") 1)
|
||
1
|
||
|
||
|
||
Windows have two basic parts: an area on the screen containing a collection of pixels, and a property list. The window properties determine how the window looks, the menus that can be accessed from it, what should happen when the mouse is inside the window and a mouse button is pressed, and soon.
|
||
|
||
CREATEW(CREATEW (Function) NIL NIL ("12") 1)
|
||
Some of the window's properties can be specified when a window is created with the function CREATEW. In particular, it is easy to specify the size and position of the window; its title; and the width of its borders.
|
||
(CREATEW region title borderw'idth)
|
||
Region is a record (named REGION, with the fields left, bottom, width, and height) ÿÿ |