Jump to content

Recommended Posts

Posted

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:

  • Developers
Posted

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.
  :)

Posted (edited)

Works great. Thanks man!

Edit:

I'm pretty much done. Are there people running an OS other than XP?

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

Edited by SlimShady

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
×
×
  • Create New...