home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turbo Toolbox
/
Turbo_Toolbox.iso
/
1991
/
06
/
praxis
/
listing7.pas
< prev
next >
Wrap
Pascal/Delphi Source File
|
1991-03-12
|
860b
|
24 lines
(* ------------------------------------------------------ *)
(* LISTING.7 *)
(* (c) 1991 Borland International *)
(* ------------------------------------------------------ *)
{ wm_Create message handler }
PROCEDURE WindowCreate;
BEGIN
Created := TRUE;
GetMem(ScreenBuffer, ScreenSize.X * ScreenSize.Y);
FillChar(ScreenBuffer^,
ScreenSize.X * ScreenSize.Y, ' ');
SetScrollRange(CrtWindow, sb_Horz, 0, 0, FALSE);
SetScrollRange(CrtWindow, sb_Vert, 0, 0, FALSE);
IF NOT CheckBreak THEN
EnableMenuItem(GetSystemMenu(CrtWindow, FALSE),
sc_Close, mf_Disabled + mf_Grayed);
END;
(* ------------------------------------------------------ *)
(* Ende von LISTING.7 *)