Sign in to follow this  
Followers 0
SlimShady

Password char

6 posts in this topic

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)

Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

#3 ·  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

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:

Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

Bullets... Works fine on Windows 2000 Professional.

I can test Windows NT 4.0 on Monday if necessary (work computers).

Share this post


Link to post
Share on other sites

No, not necessary.

I justed wanted to be sure the bullets are visible in at least one non-XP OS.

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  
Followers 0