CODTextComponent::OnDraw
void CODTextComponent::OnDraw(CDC* pDC)
Draws the text component.
Defined in: OdTextComp.cpp
Return Value
void
Parameters
pDC
The device context to draw in.
Comments
This function handles drawing the text component in both edit and
normal mode. It starts by drawing the border of the text component. If
the component is in tracking mode, this function exits after drawing the
border. If not, it either positions the text edit control or draws the
text, depending on whether the text component is in edit mode or not.