I have been unable to find any information about handling Windows lock and unlock events (i.e. pressing 'Win' + 'L')
As far as I can tell, it seems wxWidgets only has a event for a session ending (wxEVT_END_SESSION) which to my understanding is closing the app or logging off.
Windows does have events that get fired when a user locks and unlocks a PC.
I understand you need to call this function WTSRegisterSessionNotification https://docs.microsoft.com/en-za/window ... dfrom=MSDN and then handle a WM_WTSSESSION_CHANGE message https://docs.microsoft.com/en-za/window ... ion-change
I am specifically interested in these events:
Since it seems wxWidgets does not cater for these events, how can I hook into the wxWidgets event loop to process these messages (events)? Or if you direct to a blog post or wiki page. My Google-fu was not able to find anything relating to this...WTS_SESSION_LOCK (0x7)
The session identified by lParam has been locked.
The session identified by lParam has been unlocked.