Jump to content
Sign in to follow this  
Valuater

invisible labels... not working

Recommended Posts

Valuater

with the new beta i seem to have a problem now

from gafrost ( a while back )

http://www.autoitscript.com/forum/index.ph...&st=0&p=92725

#include <GuiConstants.au3>

GuiCreate("MyGUI", 392, 323)
;$Pic = GUICtrlCreatePic(@ScriptDir & "\thinker_wall_1024x768.jpg",0,0,392,323); from gafrost
$Pic = GUICtrlCreatePic("C:\Windows\Help\Tours\htmltour\logo.jpg",0,0,392,323); from valuater
$Label_1 = GuiCtrlCreateLabel("This is my label", 150, 200, 170, 60,-1,$WS_EX_TRANSPARENT)
GUICtrlSetState($Pic,$GUI_DISABLE)
GuiSetState()
While 1
    $msg = GuiGetMsg()
    Select
    Case $msg = $GUI_EVENT_CLOSE
        ExitLoop
    Case Else
  ;;;
    EndSelect
WEnd
Exit

any thoughts??

8)

Edited by Valuater

NEWHeader1.png

Share this post


Link to post
Share on other sites
GaryFrost

#include <GuiConstants.au3>

GuiCreate("MyGUI", 392, 323)
;~ $Pic = GUICtrlCreatePic(@ScriptDir & "\thinker_wall_1024x768.jpg",0,0,392,323); from gafrost
$Pic = GUICtrlCreatePic(@WindowsDir & "\Help\Tours\htmltour\logo.jpg",0,0,392,323); from valuater
$Label_1 = GuiCtrlCreateLabel("This is my label", 150, 200, 170, 60)
GUICtrlSetBkColor($Label_1, $GUI_BKCOLOR_TRANSPARENT)
GUICtrlSetState($Pic,$GUI_DISABLE)
GuiSetState()
While 1
    $msg = GuiGetMsg()
    Select
    Case $msg = $GUI_EVENT_CLOSE
        ExitLoop
    Case Else
 ;;;
    EndSelect
WEnd
Exit


SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Share this post


Link to post
Share on other sites
Valuater

thanks...

didn't see that... i will look for it

8)


NEWHeader1.png

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  

×