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::OnSetFocus
CWnd                                        Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  afx_msg void OnSetFocus( CWnd*  pOldWnd  );
 
  Parameter   Description
 
  <pOldWnd>   Contains the CWnd that loses the input focus (may be NULL).
              The pointer may be temporary, and should not be stored for
              later use.
 
  Remarks
 
  Called after gaining the input focus. To display a caret, CWnd should
  call the appropriate caret functions at this point.
 
  This message-handler member function calls the Default member
  function. Override this member function in your derived class to handle
  the WM_SETFOCUS message.
 
  See Also
 
  CWnd::Default, WM_SETFOCUS
 
 
                                     -♦-