[fpc-pascal]Graph for Windows

Andreas K. Foerster Andreas at AKFoerster.de
Wed May 29 10:56:34 CEST 2002

On Tue, May 28, 2002 at 10:29:21AM +0200, Milos Pejovic wrote:

> Also there should be a way to change the default icon to, for instance, some
> icon in
> the resource file, before the 'InitGraph'.

It is possible to change the icon of a 'graph' fpc-program.
Read in the 'programmers manual' chapter 12, 'Using Windows

Additional information:
For using an icon, you must define {$APPTYPE GUI} and then put the 
command 'ShowWindow(GetActiveWindow,0);' before the 'InitGraph()'.


More information about the fpc-pascal mailing list