BCGControlBar Pro for MFC
void CBCGPMaskEdit::EnableGetMaskedCharsOnly ( BOOL  bEnable = TRUE)
inline

Specifies whether GetWindowText retrieves only masked characters.

Use this function to specify whether GetWindowText retrieves only masked chars.

By default this flag is TRUE. For example, if you create a masked edit control that displays phone numbers in the following form:

(123) 123-12-12

and enable this option, GetWindowText will be returning 1231231212 string.

Otherwise GetWindowText will be returning a string as it's displayed in the edit control: (123) 123-12-12.

Parameters
bEnableIf TRUE, GetWindowText retrieves only masked chars. If FALSE, GetWindowText retrieves the whole text.