Jump to content

Need click through transparent window but can move it by clicking 'title bar'


Recommended Posts

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

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

 

:welcome:

I know that I know nothing

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

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