<< Return to Main Index

< Return to Class Index

CGXChild::Draw

virtual void Draw(CDC* pDC, BOOL bActive) = 0;

pDC

Points to the device context.

bActive

Specifies if the parent control is active.

Remarks

Override this method to draw the child. This method is called from the CGXControl::Draw method when the control is drawn.

The drawing rectangle for the child can be determined with GetRect.

See Also

CGXControl::Draw CGXChild::GetRect

CGXChild

Class Overview | Class Members