| void CBCGPEdit::SetErrorMessage | ( | LPCTSTR | lpszMessage, |
| COLORREF | clrText = (COLORREF)-1, |
||
| BOOL | bRedraw = TRUE, |
||
| BOOL | bDrawPromptWhenFocused = FALSE |
||
| ) |
Sets a custom error message.
| lpszMessage | The error message text. |
| clrText | The error text color. |
| bRedraw | Specifies whether a control should be redrawn. |
| bDrawPromptWhenFocused | Specifies whether error message is visible when the edit control is focused. |