[fpc-pascal]Graph for Windows

Marco van de Voort marcov at stack.nl
Wed May 29 22:55:16 CEST 2002

> > What does the fpctris demo do on your system ? Does that one hide the dos
> window?
> It does hide it, but that is what the {$APPTYPE GUI} does :-)

Odd, since here it really detaches from the console, just like e.g. notepad.
(Win98SE and Win2000)
> On closing of the main window fpctris doesn't quit also. 

If I press ESC in the main screen, everything is gone.

> It needs to be
> killed manually. There should really be some code to handle this. I
> suggest to put the handler to wm_close in the graph unit, that would do
> 'CloseGraph; Halt;' by default, and to make it possible somehow to
> override this, if we do not want the app to quit without performing some
> checking.
> Is it possible that the window doesn't change the icon, the way Andreas
> told me, because I have put {$MODE TP} to overcome some errors?

No, I don't think so.

More information about the fpc-pascal mailing list