Jump to content
Sign in to follow this  

GUICtrlSetState makes label non transparent

Recommended Posts

I don't know if it's a bug or if it's fixable, but when I try to put a label on top by using GUICtrlSetState($label, $GUI_SHOW) the label isn't transparent anymore. Is it fixable?

Tnx in advance,

Share this post

Link to post
Share on other sites

Try with:

$label = GUICtrlCreateLabel("label", 12, 2, 180, 14)

GUICtrlSetStyle($label, -1, $WS_EX_TRANSPARENT)

Share this post

Link to post
Share on other sites

Are you using the latest AutoIt beta? I've tried replicating the problem, and I think the http://www.autoitscript.com/fileman/users/jpm/AutoIt3-gui/ works okay...

Both labels are transparent for me when I run the following on AutoIt

#include <GuiConstants.au3>

$labelOne = GUICtrlCreateLabel("yaa for lots of text blah blah blah", 10, 10, 100, 30)

$labelTwo = GUICtrlCreateLabel("this is an overlapping label.  it wraps around", 20, 20, 100, 30)

GUICtrlSetState($labelOne, $GUI_SHOW)

While GuiGetMsg() <> -3

Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!

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