Sign in to follow this  
Followers 0
tomashen

layer transparency cursor problems..

5 posts in this topic

[size="+1"]_WinAPI_SetLayeredWindowAttributes

when i use this i set

[/size]#include <resources.au3>
#include "include\controlhover.au3"
#include "include\include.au3"

    $gui = GUICreate("trans", @DesktopWidth, 300,0,0, $WS_POPUP, $WS_EX_LAYERED)
    GUICtrlCreatePic("include\img\APP2.JPG", 0, 0, 154, 25, -1)
    GUISetBkColor(0xABCDEF)
    _WinAPI_SetLayeredWindowAttributes($gui, 0xABCDEF, 255)
    GUISetState()



While 1
    Switch GUIGetMsg()
    Case $GUI_EVENT_CLOSE
        Exit 1
    EndSwitch
WEnd

and in that height between 0 -> 300 cursor will react only to

$gui
how can i make transparent place to be completely transparent + hidden .. in other words if i move my cursor over the transparent place in range of 0 -> 300 on the
$gui
cursor will react to ,lets say an icon on desktop .
:D coz i liked this option but just things tiny problem is not ok for me :/

Proud of AutoIt Proud of MySelf :)

Share this post


Link to post
Share on other sites



What about GUISetState(@SW_HIDE, $gui) ??

Share this post


Link to post
Share on other sites

would that not hide the whole stuff that is on the GUI ?


Proud of AutoIt Proud of MySelf :)

Share this post


Link to post
Share on other sites

Yeah, it would. I didn't see that you were setting a transparent background. :oops:You would need to make a shaped window that only shows the controls and deletes the rest of the window. Try searching for "shaped gui" on the forum.

Share this post


Link to post
Share on other sites

this is it?


Proud of AutoIt Proud of MySelf :)

Share this post


Link to post
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
Sign in to follow this  
Followers 0