Jump to content
Sign in to follow this  
SlimShady

Password char

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:

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...