Added OnWakeAction.

Executes when returning from sleep/hibernation.
This commit is contained in:
Brian Ferguson
2013-04-27 09:26:03 -06:00
parent d09c18a862
commit 497f6bbf54
2 changed files with 18 additions and 0 deletions

View File

@ -295,6 +295,7 @@ protected:
LRESULT OnSettingChange(UINT uMsg, WPARAM wParam, LPARAM lParam);
LRESULT OnDisplayChange(UINT uMsg, WPARAM wParam, LPARAM lParam);
LRESULT OnSetWindowFocus(UINT uMsg, WPARAM wParam, LPARAM lParam);
LRESULT OnWake(UINT uMsg, WPARAM wParam, LPARAM lParam);
private:
enum STATE
@ -385,6 +386,7 @@ private:
std::wstring m_OnFocusAction;
std::wstring m_OnUnfocusAction;
std::wstring m_OnUpdateAction;
std::wstring m_OnWakeAction;
std::wstring m_BackgroundName;
RECT m_BackgroundMargins;