Jump to content
Sign in to follow this  
NegativeNrG

GUI only active on Specific Direct3D game.

Recommended Posts

try this

#include <GUIConstants.au3>

; GUI
GUICreate("Auto Loader", 200, 150)

; LABEL
$label_1 = GUICtrlCreateLabel("Ready...", 40, 20, 150, 20)

; BUTTON
$RUN_1 = GUICtrlCreateButton("Run", 50, 50, 100, 50)

; GUI MESSAGE LOOP
GUISetState()

WinSetOnTop("Auto Loader", "Ready...", 1)



While 1
    $MSG = GUIGetMsg()
    Select
        Case $MSG = $GUI_EVENT_CLOSE
            Exit
        Case $MSG = $RUN_1
           MsgBox(0,"test","on top test")
    EndSelect

WEnd

8)

Share this post


Link to post
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
Sign in to follow this  

×
×
  • Create New...