Jump to content

Recommended Posts

Posted (edited)

is there a way to remove the cancel button from the inputbox?

Use this:

#include <GUIConstants.au3>


$Input = GUICreate("Input", 329, 125, 194, 122)
$Input1 = GUICtrlCreateInput("", 11, 66, 307, 21)
$Label1 = GUICtrlCreateLabel("Please enter the password", 9, 9, 129, 17)
$Button1 = GUICtrlCreateButton("OK", 100, 94, 112, 26)
GUISetState(@SW_SHOW)


While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
    Case $GUI_EVENT_CLOSE
            

    EndSwitch
WEnd

Then when your done, GUIDelete($input)

Edited by Szhlopp

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
  • Recently Browsing   0 members

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