Gui mit GUICtrlCreateInput und (PW)-Länge

  • Hallo,

    ich habe eine frage, und zwar habe ich ein GUI gebaut, in dem sich ein Input-Feld befindet, das natürlich eine bestimmte größe hat.
    da das Feld als PW-Eingabefeld genutzt wird, und die richtlinien sich ständig ändern, sind die pws manchmal kürzer und manchmal länger.

    leider schneidet autoit jedoch das passwort dort ab, wo die eingabe in dem feld zuende ist. bei einer normalen inputbox gibt es diese beschränkung nicht, wie ich eben getestet habe =)

    gibt es da nen schalter für ? oder ne alternative ?
    extra das gui so in die breite zu ziehen, nur damit das inputfeld direkt 100stellige pws nimmt, is bissel blöd =/

  • ok, ich hoffe das was ich poste reicht *g*
    kann das ganz tool grad selber net compilieren, da mir hier 2 au3-dateien fehlen.
    hab aber eine exe, mit der ich zumindest die alten einstellungen testen kann, bzw ein mini script geschrieben, dass das pw wieder aus der ini liest, wo es nicht komplett gespeichert ist

    [autoit]


    $gui = GUICreate($script & " V3", 400, 300, -1, -1, -1, $WS_EX_ACCEPTFILES)
    $menu = GUICtrlCreateMenu("&More")
    $infos = GUICtrlCreateMenuitem("&Info", $menu)
    $about = GUICtrlCreateMenuitem("&About", $menu)
    $ok = GUICtrlCreateButton("&OK", 40, 251, 70, -1, $BS_DEFPUSHBUTTON )
    GUICtrlSetTip($ok, "Saves your current settings in an *.ini-file")
    $cancel = GUICtrlCreateButton("&Cancel", 290, 251, 70)
    If $flag = True Then GUICtrlSetTip($cancel, "This button only hides your settings")

    [/autoit][autoit][/autoit][autoit]

    ...

    [/autoit][autoit][/autoit][autoit]

    ;ie-gui
    $guiie = GUICreate("Internet Explorer Settings", 300, 250)
    WinSetTrans($guiie, "", 240)
    $ok2 = GUICtrlCreateButton("&Ok", 20, 220, 70, -1, $BS_DEFPUSHBUTTON )
    $cancel2 = GUICtrlCreateButton("&Cancel", 220, 220, 70)
    ;tab 1 - access
    GUICtrlCreateTab(0, 0, 300, 215)
    GUICtrlCreateTabItem("Access Options")
    GUICtrlCreateGroup("Access Options", 30, 30, 220, 160)
    $access = GUICtrlCreateCheckbox("automatic Internet Access", 70, 53)
    GUICtrlSetTip($access, "If you select this option, you will automaticly get access to the Internet, without writing your personal details every time")
    If $ieaxx = 1 then GUICtrlSetState($access, 1)
    $access2 = GUICtrlCreateCheckbox("automatic Portal Access", 70, 78)
    GUICtrlSetTip($access2, "If you select this option, you will automaticly get access to the Portal")
    If $portalaxx = 1 then GUICtrlSetState($access2, 1)
    GUICtrlCreateLabel("UserID", 55, 112, 50)
    $user = GUICtrlCreateInput("", 115, 110, 100)
    GUICtrlSetTip($user, "Please enter your UserID")
    If $ieaxx = 1 then GUICtrlSetData($user, $ieuser)
    $passw = GUICtrlCreateLabel("Password", 55, 152, 50)
    $pw = GUICtrlCreateInput("", 115, 150, 100, "", $ES_PASSWORD)
    GUICtrlSetTip($pw, "Please enter your current password, but keep in mind that you have to change it, when you select a new Windows-Password")
    If $ieaxx = 1 then GUICtrlSetData($pw, _StringEncrypt ( 0, IniRead(@scriptdir & "\" & $ini, "IE-Settings", "Password", ""), $pwkey , 4 ))

    [/autoit]