BCGSuite for MFC
void CBCGPEdit::EnablePasswordPreview ( BOOL  bEnable = TRUE,
BOOL  bAllowEditingInPreview = FALSE 

Enables the password preview mode.

Use this function to provide the edit control with a "password preview" mode. The control should be created with ES_PASSWORD style.

bEnableTRUE to enable, FALSE to disable.
bAllowEditingInPreviewSpecifies whether password editing is available in the "password preview" mode.