Jump to content

bugged label :(


dzony91
 Share

Recommended Posts

Why is this label bugged?

i am new here :/

#region --- GuiBuilder code Start ---
; Script generated by AutoBuilder 0.6 Prototype

#include <GuiConstants.au3>

GuiCreate("MyGUI", 392, 316,-1, -1 , BitOR($WS_OVERLAPPEDWINDOW, $WS_CLIPSIBLINGS))

$Pic_1 = GuiCtrlCreatePic("C:\WINDOWS\Zapotec.bmp", 10, 10, 370, 290)
$Label_2 = GuiCtrlCreateLabel("Label2", 50, 190, 290, 70)

GuiSetState()
While 1
    $msg = GuiGetMsg()
    Select
    Case $msg = $GUI_EVENT_CLOSE
        ExitLoop
    Case Else
    ;;;
    EndSelect
WEnd
Exit
#endregion --- GuiBuilder generated code End ---
Link to comment
Share on other sites

1 more question:\ i added 1 icon and its bugged like label... and i was added

GUICtrlSetBkColor(-1,$GUI_BKCOLOR_TRANSPARENT )

but not working , why?

$ic = GUICtrlCreateIcon("shell32.dll", -5, 19, 19, 32, 32)
GUICtrlSetBkColor(-1,$GUI_BKCOLOR_TRANSPARENT )
Link to comment
Share on other sites

1 more question:\ i added 1 icon and its bugged like label... and i was added

GUICtrlSetBkColor(-1,$GUI_BKCOLOR_TRANSPARENT )

but not working , why?

$ic = GUICtrlCreateIcon("shell32.dll", -5, 19, 19, 32, 32)
GUICtrlSetBkColor(-1,$GUI_BKCOLOR_TRANSPARENT )
You can't use that for icon or picture.
Link to comment
Share on other sites

I want this icon button but see :P

#region --- GuiBuilder code Start ---
; Script generated by AutoBuilder 0.6 Prototype

#include <GuiConstants.au3>

GuiCreate("MyGUI", 392, 316,-1, -1 , BitOR($WS_OVERLAPPEDWINDOW, $WS_CLIPSIBLINGS))
GUISetBkColor(0x000000)

$ic = GUICtrlCreateIcon("shell32.dll", -30, 105, 105, 16, 16)
GUICtrlSetState(-1,$GUI_DISABLE)
GUICtrlCreateButton("Icon button",100,100,100,30,$WS_CLIPSIBLINGS)

GuiSetState()
While 1
    $msg = GuiGetMsg()
    Select
    Case $msg = $GUI_EVENT_CLOSE
        ExitLoop
    Case Else
   ;;;
    EndSelect
WEnd
Exit
#endregion --- GuiBuilder generated code End ---
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...