home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
listings
/
v_09_04
/
9n04039a
< prev
next >
Wrap
Text File
|
1991-02-25
|
343b
|
11 lines
EVENT_MSG msg; /* allocate space for a message */
Picture("test", NULL); /* create a picture to write to */
DrawAt(200, 100); /* set the coordinates */"
DrawText("Hello, world", 0, 0, 0, NULL, NULL); /* draw it */
Window("test", "T", "C", NULL); /* show it */
GetEvent(0, &msg, sizeof(EVENT_MSG)); /* wait for an event */