Hi Josh,
I'm working on a simple utility that creates a timer in one corner of
the screen. Unfortunately, I can't find the magic method that lets me
determine how big my screen is. I can move my window to the top left
corner, but how can I position it in other corners?
I would say that:
width = wx.SystemSettings_GetMetric(wx.SYS_SCREEN_X)
height = wx.SystemSettings_GetMetric(wx.SYS_SCREEN_Y)
Will give you your screen size, in terms of resolution. If you want to
know how big is the screen *physically*, I think wxPython can not tell
you that
In a related question on this project, is it possible in Windows XP to
have an application force itself into focus. I write for for a
certain amount of time, and want my little timer to display a modal
dialog that says "Stop writing" (message is customized, 'natch) and
this works, but I'm in a different program (usually Word) and I hear
the beep, but the application doesn't appear on top of the other
window.
Uhm, have you tried using Raise()?
Andrea.
"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.virgilio.it/infinity77/
ยทยทยท
On 3/8/07, Josh English wrote: