Jump to content

$ES_PASSWORD with GuiCtrlCreateEdit


Recommended Posts

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
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...