1 { KOL MCK } // Do not remove this line!
8 uses Windows
, Messages
, ShellAPI
, KOL
{$IFNDEF KOL_MCK}, mirror
, Classes
{$ENDIF};
11 Windows
, Messages
, SysUtils
, Classes
, Graphics
, Controls
, Forms
, Dialogs
;
16 {$I MCKfakeClasses.inc}
23 KOLProject1
: TKOLProject
;
25 procedure KOLForm1FormCreate(Sender
: PObj
);
26 procedure KOLForm1Destroy(Sender
: PObj
);
27 procedure KOLForm1Paint(Sender
: PControl
; DC
: HDC
);
29 { Private declarations }
31 { Public declarations }
36 Form1
{$IFDEF KOL_MCK} : PForm1
{$ELSE} : TForm1
{$ENDIF} ;
41 procedure NewForm1( var Result
: PForm1
; AParent
: PControl
);
46 {$IFNDEF KOL_MCK} {$R *.DFM} {$ENDIF}
49 {$I MainPaintBitmap_1.inc}
52 procedure TForm1
.KOLForm1FormCreate(Sender
: PObj
);
54 B
:= NewBitmap( 0, 0 );
55 B
.LoadFromResourceName( hInstance
, 'BMP1' );
58 procedure TForm1
.KOLForm1Destroy(Sender
: PObj
);
63 procedure TForm1
.KOLForm1Paint(Sender
: PControl
; DC
: HDC
);