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
-
| pDC | A pointer to a device context. |
| str | Contains the text string to be displayed. |
| rect | The bounding rectangle. |
| nOrigin | Specifies the x-coordinate of the starting position from which tabs are expanded (in logical units). |
| clrBack | Specifies the string's background color. |