BCGControlBar Pro for MFC
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.

Parameters
lpszPromptThe prompt.
clrTextThe prompt color.
bRedrawSpecifies whether a control should be redrawn.
bDrawPromptWhenFocusedSpecifies whether prompt is visible when the edit control is focused.