jefhal Posted April 24, 2007 Share 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 Link to comment Share on other sites More sharing options...
evilertoaster Posted April 24, 2007 Share Posted April 24, 2007 try using a GUICtrlCreateInput() instead of an edit Link to comment Share on other sites More sharing options...
jefhal Posted April 25, 2007 Author Share 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 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