Hypertrophy Posted February 18, 2010 Posted February 18, 2010 (edited) I am faced with a problem on making my autoit window appear as a child window on a 3rd party app that uses a class called "DxWndClass". Is there a general solution to making controls appear on top of directx controls? here's the code im using to embed the gui onto the window. i notice that the directx is drawing over it. solution? $Child_GUI = GUICreate("", $clientsize[0], $clientsize[1], 0, 0, $WS_POPUP) DllCall("user32.dll", "int", "SetParent", "hwnd", WinGetHandle($Child_GUI), "hwnd", WinGetHandle($list[$n][0])) GUISetState(@SW_SHOW, $Child_GUI) Edited February 19, 2010 by Hypertrophy
kaotkbliss Posted February 19, 2010 Posted February 19, 2010 I don't know if this is what you want, but in your GuiCreate line you can use the $WS_EX_TOPMOST extended style that will force the window to be on top of anything else. 010101000110100001101001011100110010000001101001011100110010000 001101101011110010010000001110011011010010110011100100001 My Android cat and mouse gamehttps://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek We're gonna need another Timmy!
Hypertrophy Posted February 19, 2010 Author Posted February 19, 2010 (edited) yes but will it even be on top of the directx? Edit: $WS_EX_TOPMOST has no effect. is there ANY way to overcome this problem? drawing over directx? Edited February 19, 2010 by Hypertrophy
Xand3r Posted February 21, 2010 Posted February 21, 2010 there is no way of drawing a normal gui on top of a fullscreen directx app (afaik) Only two things are infinite, the universe and human stupidity, and i'm not sure about the former -Alber EinsteinPractice makes perfect! but nobody's perfect so why practice at all?http://forum.ambrozie.ro
t0ddie Posted February 22, 2010 Posted February 22, 2010 as mentioned in another thread dealing with window issues there may be a valid solution... why not embed the window into a gui? then you can make it fullscreen and always on top. granted it wont be TRUE full screen like direct x is..because you will still see the task bar at the bottom, but this is close. Valik Note Added 19 October 2006 - 08:38 AMAdded to warn level I just plain don't like you.
Hypertrophy Posted February 27, 2010 Author Posted February 27, 2010 as mentioned in another thread dealing with window issues there may be a valid solution... why not embed the window into a gui? then you can make it fullscreen and always on top. granted it wont be TRUE full screen like direct x is..because you will still see the task bar at the bottom, but this is close.how do i do this?
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