Call this member function to enable or disable mouse and keyboard input.
BOOL EnableWindow( BOOL bEnable = TRUE );
| Header File | Afxwin.h | 
| Platforms | |
| Versions | 1.0 and later | 
| Complete documentation | Visual C++ documentation | 
CWnd Overview, CWnd Member Functions, Window Class Categories, CWnd::OnEnable