Ebola57 Posted August 25, 2020 Posted August 25, 2020 (edited) Hi community I am trying to set some GDI+ graphism on Bluestacks app At this point I am able to display some things, but as soon as I click on Bluestacks, the GDI+ drawings vanished How can I keep my graphisms and still click through it My script #include <GDIPlus.au3> #include <Misc.au3> #include <WindowsConstants.au3> #include <WinAPI.au3> Global $hBlueStacks = WinGetHandle ( "BlueStacks" ) WinActivate ( $hBlueStacks ) Send ( "{F11}" ) $hGUI = GUICreate ( "GDI+", 2560, 1440, 0, 0, $WS_POPUP, $WS_EX_LAYERED ) GUISetBkColor ( 0xABCDEF ) _WinAPI_SetLayeredWindowAttributes ( $hGUI, 0xABCDEF ) GUISetState ( ) _GDIPlus_Startup ( ) $hGraphic = _GDIPlus_GraphicsCreateFromHWND ( $hGUI ) Global $hImage = _GDIPlus_ImageLoadFromFile ( @ScriptDir & "\icon.png" ) _GDIPlus_GraphicsDrawImage ( $hGraphic, $hImage, 50, 50 ) While 1 If _IsPressed ( "1B", "user32.dll" ) Then Exit WEnd Edited August 25, 2020 by Ebola57
Ebola57 Posted August 25, 2020 Author Posted August 25, 2020 Finally find myself $hGUI = GUICreate ( "GDI+", 2560, 1440, 0, 0, $WS_POPUP, $WS_EX_LAYERED + $WS_EX_TOPMOST + $WS_EX_TRANSPARENT )
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