TrueSR Posted November 17, 2007 Posted November 17, 2007 How can i show a gui in a game, like the chat window from xfire ? I really do not have any idea how this can be done. Thanks.
_Kurt Posted November 17, 2007 Posted November 17, 2007 I'm not sure exactly what you mean, but try something like this: Local $hwnd = WinGetHandle("My Window Title") ;<-- Must be changed.. WinSetState($hwnd, "", @SW_SHOW) Kurt Awaiting Diablo III..
TrueSR Posted November 17, 2007 Author Posted November 17, 2007 I'm not sure exactly what you mean, but try something like this: Local $hwnd = WinGetHandle("My Window Title") ;<-- Must be changed.. WinSetState($hwnd, "", @SW_SHOW) Kurt Something like this, but that also works in-game : #include <GuiConstants.au3> GUICreate ("Test", 600, 200, -1, -1, -1, $WS_EX_TOPMOST) GUISetState() While 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE Exit EndSelect WEnd Thanks already
_Kurt Posted November 17, 2007 Posted November 17, 2007 Maybe look into: WinSetOnTop() Kurt Awaiting Diablo III..
TrueSR Posted November 17, 2007 Author Posted November 17, 2007 Maybe look into: WinSetOnTop()KurtDoes not work in-game, i think (i'm really not sure) i need to hook with some windows dll
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now