CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #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.


  2. #2
    Join Date
    Apr 1999
    Posts
    26

    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
  •  





Click Here to Expand Forum to Full Width

Featured