Jump to content

Recommended Posts

Posted (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 by Hypertrophy
Posted

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 game
https://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek

We're gonna need another Timmy!

Posted (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 by Hypertrophy
Posted

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

Posted

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.

Posted

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?

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...