jefhal Posted April 24, 2007 Posted April 24, 2007 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 ;.... wendThanks! ...by the way, it's pronounced: "JIF"... Bob Berry --- inventor of the GIF format
evilertoaster Posted April 24, 2007 Posted April 24, 2007 try using a GUICtrlCreateInput() instead of an edit
jefhal Posted April 25, 2007 Author Posted April 25, 2007 evilertoaster, you nailed it! Thanks for that reference!! ...by the way, it's pronounced: "JIF"... Bob Berry --- inventor of the GIF format
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