SlimShady Posted December 24, 2004 Share Posted December 24, 2004 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 More sharing options...
Developers Jos Posted December 24, 2004 Developers Share Posted December 24, 2004 Can someone verify this?I have: $EM_SETPASSWORDCHAR = 0xCCHere'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 More sharing options...
SlimShady Posted December 24, 2004 Author Share Posted December 24, 2004 (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 December 24, 2004 by SlimShady Link to comment Share on other sites More sharing options...
Developers Jos Posted December 24, 2004 Developers Share Posted December 24, 2004 Can you run this script and check if you see bullets instead of stars?<{POST_SNAPBACK}>bullets .... Works fine on win98.... 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 More sharing options...
ZenKensei Posted December 25, 2004 Share Posted December 25, 2004 Bullets... Works fine on Windows 2000 Professional. I can test Windows NT 4.0 on Monday if necessary (work computers). Link to comment Share on other sites More sharing options...
SlimShady Posted December 25, 2004 Author Share Posted December 25, 2004 No, not necessary. I justed wanted to be sure the bullets are visible in at least one non-XP OS. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now