Jump to content

Password char


SlimShady
 Share

Recommended Posts

If I enable the $ES_PASSWORD style I see the stars. But I want to change to stars to something else.

1. I'm making my own version of the inputbox

2. I tried DllCall and GUICtrlSendMsg

Let me try something.... Nope.

3. Tried to enable the $ES_PASSWORD style

Result: Whatever I do I can only get the stars to show up.

Can someone show me a (working) example of how to change the password char of an inputbox?

It could be that the $EM_SETPASSWORDCHAR is not correct.

Can someone verify this?

I have: $EM_SETPASSWORDCHAR = 0xCC

Here's my current script:

Link to comment
Share on other sites

  • Developers

Can someone verify this?

I have: $EM_SETPASSWORDCHAR = 0xCC

Here's my current script:

<{POST_SNAPBACK}>

Didn't look at the dllcall but the GUICtrlSendMsg() works fine when you use the $Edit_1 handle in stead of the $Edit_Handle.....

$Res = GUICtrlSendMsg($Edit_1, $EM_SETPASSWORDCHAR, Asc($gPswChr), 0)

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

  • Developers

Can you run this script and check if you see bullets instead of stars?

<{POST_SNAPBACK}>

bullets .... Works fine on win98.... :idiot:

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...