[Lazarus] Detecting desktop area size

Kjow antispammoni at gmail.com
Thu Mar 31 17:15:22 CEST 2011


2011/3/31 Sven Barth <pascaldragon at googlemail.com>:
> What about this:
>
> Screen.MonitorFromWindow(YourForm.Handle);
>
> It returns a TMonitor.
>
> Regards,
> Sven

Maybe a little OT, but is it possible to change screen resolution
(e.g. on a native 19200x1200 set 800x600) in a crossplatform way?
I need this for fullscreen apps (opengl in first).

Thanks!
Kjow




More information about the Lazarus mailing list