Jump to content

Possible to add transparency to an edit box?


AzKay
 Share

Recommended Posts

  • Moderators

#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

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.

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...