I know, I know...(passwords[****])

This is a discussion on I know, I know...(passwords[****]) within the Windows Programming forums, part of the Platform Specific Boards category; I know this has been covered before, but can anyone tell me the setting for converting the users non-echoed typing ...

  1. #1
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,657

    I know, I know...(passwords[****])

    I know this has been covered before, but can anyone tell me the setting for converting the users non-echoed typing into the *** password format?

    Thx



    ITSA
    Socket Library!

  2. #2
    Registered User (TNT)'s Avatar
    Join Date
    Aug 2001
    Location
    UK
    Posts
    339

    Question

    Is this in a win32 based program? I will assume it is as this is on the windows board. And i will also assume that you are getting text from an edit control?

    If this is the case, then you dont need any code, you just have to add a property to your edit control, ES_PASSWORD.

    That goes in your CreateWindow/CreateWindowEx function where you have WS_CHILD property, or should do.

    If you are using dialogs then simply go to the properties of the edit control and tick password.

    >>I know this has been covered before
    You should do a search on the board, i saw this on the dos board a while ago.
    Again if this isnt what you wanted or you wanted to create input from a console program then you should ask on the dos board.

    Hope thats of some help...
    TNT
    TNT
    You Can Stop Me, But You Cant Stop Us All

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21