Screen resolution?
Carsten A. Arnholm
arnholm at offline.no
Tue Jul 10 07:27:58 PDT 2007
Carsten A. Arnholm wrote:
> Hello,
>
> I have a wxWidgets 2.8.4 application (wxMSW & wxGTK) that
> saves/restores window size & positions in wxConfig between runs. This
> is ok as long as the screen resolution is not reduced between runs.
> If it is, the windows could become orphaned off the screen edge.
>
> How can I obtain the current screen resolution to prevent this?
Maybe I found it myself...
wxRect ::wxGetClientDisplayRect()
should do this, right?
--
Carsten A. Arnholm
http://arnholm.org/
N59.776 E10.457
More information about the wx-users
mailing list