|
-
June 1st, 1999, 08:43 AM
#1
Q : Password CEdit
Does anyone know if it is possible or know of an alternative control to CEdit that does NOT show the number of chars in the password when the password bit is set.
If the password is QWERTY obviously I will get displayed "******". I would like to display simply say "**********" even if I enter just "Q" or "QWERTY". This way people viewing the computer do not know how many characters there are in the password.
I'm a hardware engineer that happens to write software occasionally. I could write a subclass of CEdit but it probly wouldn't be that good or clean!
Thanks for any help.
-
June 2nd, 1999, 09:57 PM
#2
Re: Q : Password CEdit
then you would have to do this in the En_CHANGE Event
m_EditField.SetWindowText("the password"+" ");
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|