tomashen Posted November 25, 2011 Share Posted November 25, 2011 [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 . coz i liked this option but just things tiny problem is not ok for me :/ Proud of AutoIt Proud of MySelf :) Link to comment Share on other sites More sharing options...
ChrisN Posted November 25, 2011 Share Posted November 25, 2011 What about GUISetState(@SW_HIDE, $gui) ?? Link to comment Share on other sites More sharing options...
tomashen Posted November 25, 2011 Author Share Posted November 25, 2011 would that not hide the whole stuff that is on the GUI ? Proud of AutoIt Proud of MySelf :) Link to comment Share on other sites More sharing options...
ChrisN Posted November 25, 2011 Share Posted November 25, 2011 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. Link to comment Share on other sites More sharing options...
tomashen Posted November 26, 2011 Author Share Posted November 26, 2011 this is it? Proud of AutoIt Proud of MySelf :) 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