Am 31.03.2011 17:15, schrieb Kjow:
2011/3/31 Sven Barth<[email protected]>:
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).

I'm not really confident in this, but I believe if you tell OpenGL to be fullscreen in that or that resolution it will switch to that automatically.

Regards,
Sven

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to