Jump to content
Sign in to follow this  

Possible to add transparency to an edit box?

Recommended Posts

#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)

While GUIGetMsg() <> - 3

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.

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...