CWnd::OnChangeUIState
Visual Studio 2010
Called when the user interface (UI) state should be changed.
afx_msg void OnChangeUIState( UINT nAction, UINT nUIElement );
This member function emulates the functionality of the WM_CHANGEUISTATE message, as described in the Windows SDK.