Hi,
I want to detect if PC is going in sleep mode or when it wake up. I couldn't find a way to do so. I tried wxEVT_HIBERNATE but it doesn' t work for sleep.
I use wxEVT_QUERY_END_SESSION to detect if PC is shutting down and it works fine. I want similar for sleep or wake.
Please suggest.
Thanks,
R.
[wxMSW][wx3.0.3] Detecting PC sleep/wake Topic is solved
Re: [wxMSW][wx3.0.3] Detecting PC sleep/wake
FWIW, there is wxEVT_POWER_SUSPENDED and wxEVT_POWER_RESUME
I have never used it so I do not know whether it does what you want and it is also available only on MSW.
I have never used it so I do not know whether it does what you want and it is also available only on MSW.