<< Return to Main Index

< Return to Class Index

CGXChild::CGXChild

CGXChild(CGXControl* pComposite);

pComposite

Pointer to the parent control object.

Remarks

Constructs a child object.

You should create and add the children in the constructor of your CGXControl-derived class.

The rectangle for the button should be passed to the child object when the control’s OnInitChildren method is called.

See Also

CGXControl::CGXControl CGXControl::OnInitChildren CGXChild::SetRect

CGXChild

Class Overview | Class Members