BCGSoft Professional Editor for MFC
virtual int CBCGPEditCtrl::DrawString ( CDC *  pDC,
CRect  rect,
int  nOrigin,
COLORREF  clrBack 

Draws a string in the edit control.

Horizontal dimension of the string in logical units.

Called by the framework to draw a string in the edit control inside the bounding rectangle specified by rect. You can override this function in a derived class to customize the string drawing.

pDCA pointer to a device context.
strContains the text string to be displayed.
rectThe bounding rectangle.
nOriginSpecifies the x-coordinate of the starting position from which tabs are expanded (in logical units).
clrBackSpecifies the string's background color.