aa2zz6 Posted October 28, 2015 Posted October 28, 2015 (edited) The following is a GUI and a child GUI. The main GUI is solid and the child GUI is transparent. I needed to make some type of object transparent so I could click through it for a project of mine. I included an _IECreateEmbedded() browser for testing purposes. Hope it helps..expandcollapse popup#include <WindowsConstants.au3> #include <IE.au3> HotKeySet("{ESC}", "Terminate") ;;==============================================================================;; ;;===============================GUI DESIGN======================================;; ;;==============================================================================;; ;;==============================================================================;; $width = 800 $height = 625 $hMain = GUICreate("COK", 1015, 585, @DesktopWidth / 2 - $width / 2, @DesktopHeight / 2 - $height / 2, _ $WS_OVERLAPPEDWINDOW + $WS_VISIBLE + $WS_CLIPSIBLINGS + $WS_CLIPCHILDREN) $wPos = WinGetPos($hMain) GUISetState(@SW_SHOW,$hMain) Local $oIE = _IECreateEmbedded() GUICtrlCreateObj($oIE, 0, -45, $width + 6, $height + 0) _IENavigate($oIE, "https://www.yahoo.com/") $Child_GUI = GUICreate("Child", 200, 200, 380, 250, $WS_POPUP,BitOR($WS_EX_MDICHILD,$WS_EX_TRANSPARENT),$hMain) WinSetTrans($Child_GUI, "", 200) GUISetBkColor(0xfffaf0, $Child_GUI) GUISetState(@SW_SHOW, $Child_GUI) ;;==============================================================================;; ;;===============END==============GUI DESIGN====================================;; ;;==============================================================================;; ;;==============================================================================;; While 1 sleep(1000) WEnd Func Terminate() Exit EndFunc ;==>Terminate Edited October 28, 2015 by aa2zz6
aa2zz6 Posted October 28, 2015 Author Posted October 28, 2015 (edited) Solved. I will edit my code above. Edited October 28, 2015 by aa2zz6 Solved
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