<< Return to Main Index

< Return to Class Index

CGXControl::FocusOnChild

virtual void FocusOnChild(CGXChild* pChild);?

pChild

Pointer to the CGXChild object.

Remarks

Sets the focus to a child. LButtonDown, MButtonDown and RButtonDown call this method when a CGXChild was hit.

Please do not misinterpret the term ‘focus’. CGXChild objects are not derived from CWnd and thus cannot receive keyboard input. In the context of CGXChild, the term ‘focus’ means that CGXControl will send subsequent mouse messages (MouseMove, LButtonUp, ...) and KeyPressed calls to this CGXChild.

See Also

CGXControl::ChildWithFocus CGXChild

CGXControl

Class Overview | Class Members