shankarraj
asked on
Problem of * in the edit box
Hi,
In a dialog based application,I have one edit box.I have enabled the password property(in styles property) during design time.While running the application,the edit box is showing * for the first time.If I have to enter my password in the editbox,I will have to delete the * and then I will have to edit the pasword.Here please tell me what to do to avoid *?
Waiting for your reply.
regards
shankarraj
In a dialog based application,I have one edit box.I have enabled the password property(in styles property) during design time.While running the application,the edit box is showing * for the first time.If I have to enter my password in the editbox,I will have to delete the * and then I will have to edit the pasword.Here please tell me what to do to avoid *?
Waiting for your reply.
regards
shankarraj
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
That * you see in your password box is probably a 0. Is your password always going to be a number? I'd suggest using a CString member variable instead of a int variable anyway for a password.
Othewise you have overwrite ONINITDIALOG and reset that field manually....
ASKER
My password member variable is of type int, not CString.
regds
shankarraj