[SOLVED] Detect if system goes to sleep or hibrante mode ?
-
i want to do the following on windows.
if system goes to sleep or hibrante mode then make a text file
Is there any Qt specific api ?
if no.what are other solutions?Thanks in advance.
-
Hi,
AFAIK, not currently.
You'll have to use Window's APIs for that
-
Hi.
SGaist is right there is no Qt specific API.
use WM_POWERBROADCAST a window specific message.
Find out it on MSDN.
Have a nice day.
-
-
yeah all right.
Please edit thread title as {SOLVED}
Thanks.