CEdit::GetPasswordChar TCHAR GetPasswordChar( ) const;Return ValueSpecifies the character to be displayed in place of the character typed by the user. The return value is NULL if no password character exists.ResCall this function to retrieve the password character displayed in an edit control when the user enters text. If the edit control is created with the ES_PASSWORD style, the default password character is set to an asterisk (*).GetPasswordChar()取出的应该是"*" 点击管理就可以给分了
str="abc";
m_string.GetWindowText(s1)
if(s1==str)
{
MessageBox("very good!");
}
else
{
MessageBox("so bad!");
}
TCHAR GetPasswordChar( ) const;Return ValueSpecifies the character to be displayed in place of the character typed by the user. The return value is NULL if no password character exists.ResCall this function to retrieve the password character displayed in an edit control when the user enters text. If the edit control is created with the ES_PASSWORD style, the default password character is set to an asterisk (*).GetPasswordChar()取出的应该是"*"
点击管理就可以给分了