Sign in to follow this  
Followers 0
AzKay

Possible to add transparency to an edit box?

4 posts in this topic

Anyone?


# MY LOVE FOR YOU... IS LIKE A TRUCK- #

Share this post


Link to post
Share on other sites



#include <guiconstants.au3>
$Main = GUICreate('A GUI', 330, 330, -1, -1, -1, $WS_EX_TRANSPARENT)
GUISetBkColor(0xFF0000, $Main)
$Child = GUICreate('', 310, 310, 10, 10, $WS_POPUP, $WS_EX_MDICHILD, $Main)
$Edit = GUICtrlCreateEdit('', 0, 0, 310, 310, $ES_AUTOVSCROLL)
GUISetState(@SW_SHOW, $Main)
GUISetState(@SW_SHOW, $Child)

For $i = 255 To 100 Step - 5
    WinSetTrans($Child, '', $i)
    Sleep(100)
Next

While GUIGetMsg() <> - 3
WEnd


[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

Thanks


# MY LOVE FOR YOU... IS LIKE A TRUCK- #

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