Jump to content

Skinning the GuiCtrlCreateInput


Recommended Posts

i managed to make a skin for the guictrlcreateinput, and it worked but i was wondering if there is a different way to do it

GUICreate(":(", 150, 60)
$inp1 = GUICtrlCreateInput("", 7, 20, 130, 20)
GUICtrlSetLimit($inp1, 20)
$pic = GUICtrlCreatePic("inp.gif", 5, 16, 134, 28)
GUISetState()

While 1
    GUICtrlSetState($pic, 2048)
    If GUIGetMsg() = -3 Then Exit
WEnd

PS : i came across an issue that i'm trying to solve but no luck, when another window gets the focus the Guictrlcreateinput is revealed. Any help is appreciated

Edited by mrbond007
Link to comment
Share on other sites

one change the gif to bmp...

two thats the best your gona get...

im looking for a way to skina progress par.. but i cant find one...

it doesn't matter if the picture is Gif, BMP or JPG. It can be done with Visual Basic but
Link to comment
Share on other sites

heres an answer to this question:

PS : i came across an issue that i'm trying to solve but no luck, when another window gets the focus the Guictrlcreateinput is revealed. Any help is appreciated

i know it make the out like smaller put it works dont it:

GUICreate(":(", 150, 60)
$inp1 = GUICtrlCreateInput("", 5, 16, 134, 28)
GUICtrlSetLimit($inp1, 20)
$pic = GUICtrlCreatePic("inp.gif", 5, 16, 134, 28)
GUISetState()

While 1
    GUICtrlSetState($pic, 2048)
    If GUIGetMsg() = -3 Then Exit
WEnd
Link to comment
Share on other sites

ahh i fixed it and i added another input box...

here

GUICreate(":)", 223, 160)
$inp = GUICtrlCreateInput("", 7, 18, 121, 21)
$inp1 = GUICtrlCreateInput("", 5, 60, 121, 21)
GUICtrlSetLimit($inp, 20)
GUICtrlSetLimit($inp1, 20)
$pic1 = GUICtrlCreatePic("C:\Documents and Settings\Windows\Desktop\inp.gif", 5, 16, 146, 28)
$pic2 = GUICtrlCreatePic("C:\Documents and Settings\Windows\Desktop\inp1.gif", 5, 60, 148, 28,)
GUISetState()
While 1
    GUICtrlSetState($pic1, 2048)
    GUICtrlSetState($pic2, 2048)
    If GUIGetMsg() = -3 Then Exit
WEnd
do that help...
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...