[fpc-pascal]Graph window and mouse;

Marco van de Voort marcov at stack.nl
Sun Sep 8 17:34:34 CEST 2002


> actually I have to tell, that I am a beginner; so I have the following
> problem:
> I want to get the mouseevent in an graphic window;
> I know how to do this in an "crt" window (getmouseevent(event)),etc.;
> but I don't know, how to "switch" to the graphic window.
> So if someone could tell me, it would be very nice (or at least give a
> hint where to find in the documenatation).

Use the "win" versions of mouse and crt, so "wincrt" and "winmouse".

See e.g. the samegame demo in 1.0.6




More information about the fpc-pascal mailing list