Sign in to follow this  
Followers 0
Nanaki

GUICtrlSetState makes label non transparent

5 posts in this topic

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

Nope, doesn't work. Thanks for trying tho.

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 3.1.0.15S

#include <GuiConstants.au3>
GUICreate("Example")

$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)
guisetstate()

While GuiGetMsg() <> -3
WEnd

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

Thanks, but it seems the problem is the use of cwebpage :/ Looks like it can't be fixed...

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