Sign in to follow this  
Followers 0
NegativeNrG

GUI only active on Specific Direct3D game.

5 posts in this topic

is it possible to put the GUI go ONLY on top of a Direct3D game? i never attempted this because i dont know which function to use, if its possible, may i have an example of some sort?

Thanks :P


[size=20]My File Upload[/size]Register at my site and upload.

Share this post


Link to post
Share on other sites



is this an internet game??

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

yes its an internet game, by internet game, i mean an online game. not a web-based game.


[size=20]My File Upload[/size]Register at my site and upload.

Share this post


Link to post
Share on other sites

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)


NEWHeader1.png

Share this post


Link to post
Share on other sites

Thanks, that seems to work, but is it possible to set it to only a Direct3D game that you assign?


[size=20]My File Upload[/size]Register at my site and upload.

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  
Followers 0