basic question

Jim Spencer Jim.Spencer at p510.f22.n282.z1.fidonet.org
Sun May 19 06:09:18 AEST 1991


Stanislaus Pietrucha writes in a message to All

SP> How can I clear my screen on the Mac (using Think-C)

You shouldn't be clearing the "screen" on a Mac.  If you really mean this, then its not a "basic" question as you are talking about taking over for the OS.

Assuming that you mean erase the current window then simply EraseRect() passing the current port's portRect.

GrafPtr     thePort;

GetPort(&thePort);
EraseRect(thePort->portRect);
 
 * Origin: White Mailer Test Point (1.0d6) (1:282/22.510)



More information about the Comp.lang.c mailing list