Roger Binns wrote:
Is there any way to get the display size when multiple monitors are
in use?On Windows I have two monitors, running at 1600x1200 and 1280x1024 respectively.
wx.GetDisplaySize()
wxSize(1600, 1200)
wx.GetDisplaySizeMM()
wxSize(400, 300)
wx.GetClientDisplayRect()
wxRect(0, 0, 1600, 1168)
wx.SystemSettings_GetMetric(wx.SYS_SCREEN_X)
1600
wx.SystemSettings_GetMetric(wx.SYS_SCREEN_Y)
1200
wx.GetMousePosition()
(2350, 858)
As you can see, the existence of the second monitor is
ignored except for the mouse position.
There is a wxDisplay class that would help with this, but it is not wrapped in wxPython yet.
ยทยทยท
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!