void CBCGPEdit::SetPrompt | ( | LPCTSTR | lpszPrompt, |
COLORREF | clrText = (COLORREF)-1 , |
||
BOOL | bRedraw = TRUE , |
||
BOOL | bDrawPromptWhenFocused = FALSE |
||
) |
Sets a prompt displayed when the edit box text is empty.
lpszPrompt | The prompt. |
clrText | The prompt color. |
bRedraw | Specifies whether a control should be redrawn. |
bDrawPromptWhenFocused | Specifies whether prompt is visible when the edit control is focused. |