CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 1999
    Posts
    9

    How to display *** in Edit box?

    Hi,

    for my application, i need to ask the user for password input. i read that we can create CEdit object with the ES_PASSWORD style. but i am using ResourceView to create my dialog box with Edit boxes and i know how to assign a CEdit object to that Edit box, but how do i modify the style of this Edit box so that it has the ES_PASSWORD style so that only ****** will be displayed when the user types in the password?




  2. #2
    Join Date
    Apr 1999
    Posts
    12

    Re: How to display *** in Edit box?

    Just bring up the properties dialog on your edit box, switch to the 'Styles' tab, and check the 'Password' option. That should make it do what you want.


  3. #3
    Join Date
    Apr 1999
    Posts
    9

    Re: How to display *** in Edit box?

    Thank you very much for your help. Without you, I would have had to go through all the code to try to implement it. Thanks!!


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