Sign in to follow this  
Followers 0
Guest RiverRed

Force AutoIt above a full-screen game

2 posts in this topic

how can i force tool tips (or the main GUI) from autoit3 to appear above a full screen game ?

I've tried using WinSetOnTop but that doesn't even show my script GUI !

Share this post


Link to post
Share on other sites



#include <ANYGUIv2.6.au3>

#include <GuiConstants.au3>

$Targetwindow = _GuiTarget("Rakion", 1); your game title here

$menu = DllCall("user32.dll", "hwnd", "SetMenu", "hwnd", $Targetwindow

_TargetStyle("toggle", 1, BitOR($WS_CHILD, $WS_SYSMENU, $WS_CAPTION, $WS_OVERLAPPEDWINDOW))

)

While WinExists($Targetwindow)

$msg = GUIGetMsg()

If Not WinExists($Targetwindow) Then Exit

Sleep(50)

WEnd

many thanx to quizzywabbit for examples :whistle:


http://www.myclanhosting.com/defiasVisit Join and contribute to a soon to be leader in Custumized tools development in [C# .Net 1.1 ~ 2.0/C/C++/MFC/AutoIt3/Masm32]

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