Hello all,

i need to run a program to ask for a password, but i need this program
will be the only accessible window on the screen, so i want to lock
the screen but no my window.
i see an example in vb and it say i may to use this:

' Tell the system a screen saver is running.
SystemParametersInfo SPI_SCREENSAVERRUNNING, True, prev_value, 0

The problem is that when i use:

win32gui.SystemParametersInfo(win32con.SPI_SCREENSAVERRUNNING, True)

it say: Action 97 is not supported yet

Do you know if are any other way to do the same thing?

regards.
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to