Dmitriy Baranov wrote:
> Darryl Ross пишет:
>> Hey All,
>>
>> I have a strange problem with my application not
showing some static
>> bitmaps if the panel they are on is re-drawn while
the screensaver is
>> active on Win32.
>>
>> Is there a way from python to determine whether the
screensaver is
>> active?
>
> winapi-function
> SystemParametersInfo(SPI_GETSCREENSAVEACTIVE,0,true,0);
> return true, if screensaver is running.
> You can create pyd-module for checking.
If you've got Mark Hammond's win32 extensions (or
Activestate Python,
which includes them), you already have access to this in
module win32gui.
--
Don Dwiggins
Advanced Publishing Technology
------------------------------------------------------------
---------
To unsubscribe, e-mail: wxPython-users-unsubscribe lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help lists.wxwidgets.org
|