dactandn0 Posted March 25, 2023 Share Posted March 25, 2023 Hi everyone, Plese help me, I need to click through transparent window but can move it by clicking 'title bar'. Here my code to set transparent for window: Quote $curHwndTrans = WinGetHandle(WinGetTitle("[ACTIVE]")) WinSetTrans($curHwndTrans, "", 70) WinSetOnTop($curHwndTrans, "", $WINDOWS_ONTOP) _WinAPI_SetWindowLong($curHwndTrans, $GWL_EXSTYLE, BitOR(_WinAPI_GetWindowLong($curHwndTrans, $GWL_EXSTYLE), $WS_EX_TRANSPARENT)) Link to comment Share on other sites More sharing options...
ioa747 Posted March 25, 2023 Share Posted March 25, 2023 if you want to move it, you can use a Label as a grab point look at the GUICtrlCreateLabel ( "text", left, top [, width [, height [, style = -1 [, exStyle = -1]]]] ) for the The extended style $GUI_WS_EX_PARENTDRAG can be used to allow the dragging of the parent window for windows that don't have a titlebar (no $WS_CAPTION style in GUICreate()). if you want to go deeper 209723-change-titlebar-colors-of-autoit-gui I did something similar to transparence recently if you find something, here as an idea to follow another window without needing to move this GhostGui SOLVE-SMART and dactandn0 1 1 I know that I know nothing Link to comment Share on other sites More sharing options...
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