10 258 800x600 16 800 x 600 VESA
My first question is about the modification proposed here (https://forum.lazarus.freepascal.org/index.php/topic,51934.msg382141.html#msg382141), in order to fix a small memory leak in ptcGraph. Who should you contact so that the modification is possibly integrated in a future version of Free Pascal?
I have another question, about the third parameter of the InitGraph procedure. As far as I know, this parameter is not used. So, why not use it to set the value of the WindowTitle variable? Like in the WinGraph unit.
Will the value 258 have the same meaning on all systems?
1° The CloseGraphRequest function. How can I know that the user clicked on the close button of the window?
2° The procedure UpdateGraph, which is used as follows:
What exactly does that do? What kind of updates are disabled then?
I don't think that PTC supports such functionality.
What exactly does that do? What kind of updates are disabled then?
It's for deciding when the window is repaint.
the user can close the window. Why 3, I don't know.
I think it is char 3 because it is the value CTRL-C (third letter). In Dos programs, pressing CTRL-C terminates the program, so it makes sense that closing the window would be like sending this key.
I will make a report to the BugTracker (for the first point).