Sign in to follow this  
Followers 0
jefhal

$ES_PASSWORD with GuiCtrlCreateEdit

3 posts in this topic

I'm pulling my hair out trying to use $ES_PASSWORD with guictrlcreateedit in one of my scripts. However, no matter what I try the edit box never hides the input as it does when using this style with InputBox.

#include <GuiConstants.au3>
#include <array.au3>
#Include <GuiTreeView.au3>
#include <GuiList.au3>
GUICreate("Add New Students",600,530)
;.....
GUICtrlCreateLabel("Default password for this class:", 30, 250, 180, 20)
$DefaultPasswordShow = GUICtrlCreateEdit("", 200, 250, 300, 20, $ES_PASSWORD) ; <<<====== Here's the culprit
GUISetState()
While 1
    $msg = GUIGetMsg()
    If $msg = $GUI_EVENT_CLOSE Then ExitLoop
;....
wend
Thanks! :shocked:

...by the way, it's pronounced: "JIF"... Bob Berry --- inventor of the GIF format

Share this post


Link to post
Share on other sites



try using a GUICtrlCreateInput() instead of an edit

Share this post


Link to post
Share on other sites

evilertoaster, you nailed it! Thanks for that reference!! :shocked:


...by the way, it's pronounced: "JIF"... Bob Berry --- inventor of the GIF format

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