Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 03:45

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



input box as an image like php input boxes

Discussion on input box as an image like php input boxes within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2009
Posts: 1,234
Received Thanks: 1,095
input box as an image like php input boxes

is it posible to do that?
like... -> use image -> and put input box as image in gui
so u can enter text in the image but u wont see this crappy input white box


as i tryed and searched i dont think but maybe someone has figured it out
fear-x is offline  
Old 03/22/2012, 20:45   #2
 
elite*gold: 50
Join Date: Mar 2010
Posts: 1,373
Received Thanks: 521
Can you make an example?
Post a picture showing your desired result
jacky919 is offline  
Old 03/22/2012, 21:01   #3
 
omer36's Avatar
 
elite*gold: 0
Join Date: Mar 2009
Posts: 2,317
Received Thanks: 1,255
Maby u want something like this:

PHP Code:
#include <_Transinput.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>

If Not FileExists(@ScriptDir "/Bild.JPG"Then InetGet("http://www.karpowitz.de/lichthtml/wp-content/uploads/2010/10/Chuck_and_Snoopy_Peanuts_Comic_Strip.jpg", @ScriptDir "/Bild.JPG")

Do
    
Sleep(10)
Until FileExists("Bild.jpg")

$Form1 GUICreate("Form1"621445193125)
$Pic1 GUICtrlCreatePic(@ScriptDir "/Bild.JPG"00620444BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
$label GUICtrlCreateLabel("write here!"22020025025)
_TransInput_Create($label,12)
GUISetState(@SW_SHOW)

While 
1
    $nMsg 
GUIGetMsg()
    Switch 
$nMsg
        
Case -3
            FileDelete
(@ScriptDir "/Bild.JPG")
            Exit

    EndSwitch
Wend 
_Transinput.au3:
PHP Code:
#include-once
Dim $aTransIn[1][3] = [["Ctrl_Input","Ctrl_Lable","Text"]]
$DUMMY GUICreate("DUMMY")
AdlibRegister("_TransInput_Update",50)
$dll DllOpen("user32.dll")

Func _TransInput_Create(ByRef $ctrlID,$ifSize=8.5)
    ;
SEuBo
    $hParent_Wnd 
DllCall($dll,"hwnd","GetParent","hwnd"GUICtrlGetHandle($ctrlID))
    
$hParent_Wnd $hParent_Wnd[0]
    
$cOldText ControlGetText($hParent_Wnd,"",$ctrlID)
    
$cPos ControlGetPos($hParent_Wnd,"",$ctrlID)
    If 
Not @error Then
        $oldGUI 
GUISwitch($DUMMY)
        
GUISwitch($oldGUI)
        
$nCtrlID GUICtrlCreateLabel($cOldText,$cPos[0],$cPos[1],$cPos[2],$cPos[3])
        
GUICtrlSetBkColor(-1,-2)
        
GUICtrlSetFont(-1,$ifSize)
        
$hwnd_gui GUICreate("",$cPos[2],$cPos[3],$cPos[0],$cPos[1],0x80000000,BitOR(0x00000040,0x00000008),$hParent_Wnd)
        
GUICtrlDelete($ctrlID)
        
$ctrlID GUICtrlCreateInput($cOldText,0,0,$cPos[2],$cPos[3])
        
GUICtrlSetState(-1,2048)
        
GUICtrlSetFont(-1,$ifSize)
        
WinSetTrans($hwnd_gui,"",1)
        
GUISetState(@SW_SHOW,$hwnd_gui)
        
ReDim $aTransIn[UBound($aTransIn)+1][3]
        
$aTransIn[UBound($aTransIn)-1][0] = $nCtrlID
        $aTransIn
[UBound($aTransIn)-1][1] = $ctrlID
        $aTransIn
[UBound($aTransIn)-1][2] = $cOldText
        GUISwitch
($oldGUI)
        Return 
$nCtrlID
    
EndIf
EndFunc
Func _TransInput_Update
()
    For 
$i 1 to UBound($aTransIn)-1
        
If $aTransIn[$i][2] <> GUICtrlRead($aTransIn[$i][1]) Then
            $aTransIn
[$i][2] = GUICtrlRead($aTransIn[$i][1])
            
GUICtrlSetData($aTransIn[$i][0],$aTransIn[$i][2])
        EndIf
    
Next
EndFunc 
omer36 is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
Need some input
07/23/2011 - 9Dragons - 2 Replies
ok guys, ive decided i would like to play 9d again . But only one proBlem, i dont know what version to play. im guessing G1 is closeing down so thats a no go.. wouldnt mind playing the new dream dragon But it would be redicules to try with out a translation .. so what do you guys think.. what a good version to play and why ? i would like a good active community
What is Input??
04/15/2011 - S4 League Hacks, Bots, Cheats & Exploits - 4 Replies
What is Input??:confused::confused:
Need some input please
07/10/2009 - Dekaron Private Server - 9 Replies
OKay guys i got my client packed but i only have 2 problems: The loading map screen for deathlands is white and blank. also the minimap is blank. At first my mobs were pink but i reinstalled the textures and it fixed it. I reinstallled the files from data/texture/minimap and the loading one in texture/ui/game/loading. Wondering if anyone else might have an idea EDIT:: Its all new maps but they worked fine in unpacked mode same textures and etc ...
GUI Run (input...)
05/12/2008 - Guild Wars - 30 Replies
Hallo, ich mal wieder mit ne Frage. Und zwar habe ich eine Func _path() erstellt welche die Aufgabe hat den user auf zu fordern den Pfad zum GuildWars verzeichniss an zu geben. Die func klappt auch ohne Probleme, aber ich möchte es halt so das wenn der User dann start drückt das GuildWars startet von dem Verzeichniss aus wo der User sein GuildWars Installiert hat. Die Func sieht so aus.... func _path() MsgBox ( 0, "GuildWars Path", "Befor the bot can do autologin you have to...
hi some input plz?
05/11/2007 - Conquer Online 2 - 0 Replies
i made billions of high lv troj and got used to it, now i played on a new serv and made a lv110 war in 2weeks. however, i am very not used to it cuz cant even ss/fb. i wasthinking of making a new char, or stick with this one rb at 120, or make it 130 130 rb to troj? btw lvling with a sword/blade and shield at lv120 + , would it affect my exp a lot compare to using club shield?



All times are GMT +1. The time now is 03:45.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.