Jump to content

Labels


Recommended Posts

I don't think thats what I need, i have a backround image, and i want it to also show behind the label, not create a specific backround image for the label.

<{POST_SNAPBACK}>

Valuater basically gave you the what you needed

$my_GUI = guicreate("my Gui")

$my_pic = guicreatepic("c:\......

$my_lable = guicreatelabel("test",10,10,50,20,-1,$WS_EX_TRANSPARENT)

Guictrlsetstate($my_pic, $GUI_DISABLE)

you create your background image, then put what controls you want

then set the background to disabled, otherwise your controls won't work properly.

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

works for me, image attached:

#include <GuiConstants.au3>

GuiCreate("MyGUI", 392, 323)
$Pic = GUICtrlCreatePic(@ScriptDir & "\thinker_wall_1024x768.jpg",0,0,392,323)
$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

Get the image file here

Edited by gafrost

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

Its not working, i have installed 3.11, using the uninstall first function, didn't work.

I have uninstalled it in add remove programs, then redownloaded the file and installed it, didn't work.

Tried restarting my computer didn't work.

edit- leme try beta.. like u posted.

edit- cant find where to dl beta.

Edited by Garrett19212
Link to comment
Share on other sites

Ok downloaded the beta, but how do i "install" it, its in a zip. And when I try to run a script, gives me a list of programs to open it with, tried choosing the autoit.exe, but just opens notepad.

-edit

Ah, didn't know there was a exe for the beta, though it was another older beta version, didn't notice cuz of the ..

Trying it now

Edited by Garrett19212
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...