This topic has not yet been rated - Rate this topic

COleControlSite::SetFocus

Sets focus to the control.

virtual CWnd* SetFocus( ); 
virtual CWnd* SetFocus( 
   LPMSG lpmsg 
);
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.

A pointer to the window that previously had focus.

Header: afxocc.h

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ