Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
CWnd::OnEnable
CWnd                                        Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  afx_msg void OnEnable( BOOL  bEnable  );
 
  Parameter   Description
 
  <bEnable>   Specifies whether the CWnd has been enabled or disabled.
              This parameter is TRUE if the CWnd has been enabled; it is
              FALSE if the CWnd has been disabled.
 
  Remarks
 
  Called when an application changes the enabled state of CWnd. It is sent
  to the CWnd whose enabled state is changing. OnEnable is called before
  the EnableWindow member function returns, but after the window enabled
  state (WS_DISABLED style bit) has changed.
 
  This message-handler member function calls the Default member
  function. Override this member function in your derived class to handle
  the WM_ENABLE message.
 
  See Also
 
  CWnd::EnableWindow, CWnd::Default, WM_ENABLE
 
 
                                     -♦-