BCGControlBar Pro for MFC
virtual int CBCGPEditCtrl::DrawString ( CDC *  pDC,
LPCTSTR  str,
CRect  rect,
int  nOrigin,
COLORREF  clrBack 
)
protectedvirtual

Draws a string in the edit control.

Returns
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.

Parameters
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.