[python-win32] SendMessageTimeout() ?
Mark Hammond
mhammond at skippinet.com.au
Fri Jul 27 02:27:08 CEST 2007
> I am pretty sure I need to call
>
> SendMessageTimeout(HWND_BROADCAST, WM_SETTINGCHANGE, 0,
> (LPARAM) "Environment", SMTO_ABORTIFHUNG,
> 5000, &dwReturnValue);
>
> And can't figure out how.
import win32gui, win32con
rc, dwReturnValue = win32gui.SendMessageTimeout(win32con.HWND_BROADCAST,
win32con.WM_SETTINGCHANGE, 0, "Environment", win32con.SMTO_ABORTIFHUNG,
5000)
Cheers,
Mark
More information about the Python-win32
mailing list