Jump to content

invisible labels... not working


Valuater
 Share

Recommended Posts

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

Link to comment
Share on other sites

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

 

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