Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Windows API
  4. Password Box!?? no mask!??

Password Box!?? no mask!??

Scheduled Pinned Locked Moved Windows API
question
3 Posts 3 Posters 4 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    ferdna
    wrote on last edited by
    #1

    how can i remove the mask of the Password box... i want to allow my users to select between "password mask" and "no password mask" so they can show or hide the password at will... thanks!

    It Is Not That I'm Different! ... I'm Only Making The Difference!

    A 1 Reply Last reply
    0
    • F ferdna

      how can i remove the mask of the Password box... i want to allow my users to select between "password mask" and "no password mask" so they can show or hide the password at will... thanks!

      It Is Not That I'm Different! ... I'm Only Making The Difference!

      A Offline
      A Offline
      A
      wrote on last edited by
      #2

      why don't you just store the password in a registry key then clear the password using a button and then get the password from the registry and put it in the password field. NOTE: if it is an important password eg(it needs to be secure so no one can view it you might want to encrypt the password and then decrypt it when you want to get it from the registry).

      H 1 Reply Last reply
      0
      • A A

        why don't you just store the password in a registry key then clear the password using a button and then get the password from the registry and put it in the password field. NOTE: if it is an important password eg(it needs to be secure so no one can view it you might want to encrypt the password and then decrypt it when you want to get it from the registry).

        H Offline
        H Offline
        haggenx
        wrote on last edited by
        #3

        if you are programming in vb6 for example, textfield boxes have a property called passwordchar, if empty then mask is nothing and an user can see the content of field, else, if passwordchar is a char (* for example) the mask is equal to passwordchar. You must write a programm what allow choice to user "password or no password" and change this property.

        Cuando salga el sol, no estare aqui...

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups