Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets focus to the control.
virtual CWnd* SetFocus( );
virtual CWnd* SetFocus(
LPMSG lpmsg
);
Parameters
- lpmsg
A pointer to a MSG structure. This structure contains the Windows message triggering the SetFocus request for the control contained in the current control site.
Return Value
A pointer to the window that previously had focus.
Requirements
Header: afxocc.h