Jump to content

Anyone help please


Recommended Posts

Create a gui the same size as ur button

$Form1 = GUICreate("AForm1", 115, 34, 192, 125,$WS_POPUP,$WS_EX_TOOLWINDOW)
$Button1 = GUICtrlCreateButton("Button", 0, 0, 115, 34, 0)
GUISetState(@SW_SHOW)
While 1
    $msg = GuiGetMsg()
    Select
    Case $msg = $GUI_EVENT_CLOSE
        ExitLoop
    Case Else
;;;;;;;
    EndSelect
WEnd
Exit

$WS_Popup makes it so you dont have the window bar and $WX_EX_TOOLWINDOW makes it so there isnt a title bar in the taskbar

Edited by death pax
Link to comment
Share on other sites

  • Moderators

Does anyone know how to create a button without a GUI window behind it, so theres no window or title bar, just a button that can be clicked and that can be placed where ever on the screen?

Wow, I thought I'd seen them all... If Death Pax doesn't answer you question then ask it right.

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

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...