Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 13:09

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

Advertisement



[GUICtrlCreatePic] image is not displayed

Discussion on [GUICtrlCreatePic] image is not displayed within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Sep 2011
Posts: 270
Received Thanks: 44
[GUICtrlCreatePic] image is not displayed

~Close
Attached Images
File Type: jpg hackbanner.jpg (8.5 KB, 4 views)
md88 is offline  
Old 02/21/2014, 22:36   #2
 
alpines's Avatar
 
elite*gold: 60
Join Date: Aug 2009
Posts: 2,256
Received Thanks: 815
Das Pic-Control muss nach dem GUICreate, weil es sonst keinem Window zugewiesen werden kann.
alpines is offline  
Old 02/21/2014, 22:38   #3
 
elite*gold: 0
Join Date: Sep 2011
Posts: 270
Received Thanks: 44
nein geht leider immernoch nicht aber danke ^^:
Code:
#Region ### START Koda GUI section ### Form=
$form1 = GUICreate("", 304, 123, 152, 124, -1, $WS_EX_TOPMOST)
$Pic1 = GUICtrlCreatePic(@ScriptDir & "\hackbanner.jpg", 304, 91)
$checkbox1 = GUICtrlCreateCheckbox("1", 20, 10, 97, 17)
$checkbox2 = GUICtrlCreateCheckbox("2", 20, 38, 97, 17)
$checkbox3 = GUICtrlCreateCheckbox("3", 20, 66, 97, 17)
$button1 = GUICtrlCreateButton("Start !!", 20, 92, 137, 25)
GUISetState(@SW_SHOW)
$handle = _SoundOpen(@ScriptDir & "\Dreaming.mp3")
_SoundPlay($handle)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $button1
_something()
EndSwitch
WEnd
md88 is offline  
Old 02/21/2014, 23:07   #4
 
alpines's Avatar
 
elite*gold: 60
Join Date: Aug 2009
Posts: 2,256
Received Thanks: 815
Das ist sicherlich nicht dein ganzes Skript. Entweder hast du den Dateinamen falsch bzw. Pfad oder es ist aus der Größe des Fensters raus denn width = 304 height = 123 und bild bei width 304 geplaced, d.h. es ist aus dem Fenster draußen.
Stelle es erstmal auf 0/0 und schau nach ob es zu sehen ist.
alpines is offline  
Thanks
1 User
Old 02/21/2014, 23:10   #5
 
YatoDev's Avatar
 
elite*gold: 50
Join Date: Sep 2012
Posts: 3,841
Received Thanks: 1,462
mach das bild einfach in koda rein
YatoDev is offline  
Old 02/21/2014, 23:11   #6
 
elite*gold: 0
Join Date: Sep 2011
Posts: 270
Received Thanks: 44
Quote:
Originally Posted by alpines View Post
Das ist sicherlich nicht dein ganzes Skript. Entweder hast du den Dateinamen falsch bzw. Pfad oder es ist aus der Größe des Fensters raus denn width = 304 height = 123 und bild bei width 304 geplaced, d.h. es ist aus dem Fenster draußen.
Stelle es erstmal auf 0/0 und schau nach ob es zu sehen ist.
danke
md88 is offline  
Reply


Similar Threads Similar Threads
GuiCtrlCreatePic Hilfe
10/18/2013 - AutoIt - 8 Replies
Hey, wollte grad was mit GuiCtrlCreatePic testen. Ums zu testen hab ich also den einfachen Code ausprobiert: #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #Region ### START Koda GUI section ### Form=
Dibiase - New Sig/Full Size Image - [GIANT IMAGE WARNING]
10/26/2011 - General Art - 1 Replies
WARNING - SOME OF THESE IMAGES ARE MASSIVE(OVER 2000 PIXELS WIDE/1000 PIXELS HIGH). This is my latest signature collection, the full size images show the detail. Full-Size: http://img339.imageshack.us/img339/971/dibiaseful l.png Super-Sized:
GUICtrlCreatePic zeigt Bild nicht an!
07/21/2010 - AutoIt - 2 Replies
Ich wollte nen Acc. creator für NosTale.de schreiben. Dazu wollte ich erstmal die Captchadatei runterladen und dann Anzeigen lassen, weil ich nicht unbedingt nen Captcha breaker mit AutoIt schreiben will. Ich lade das Bild mit InetGet runter und verushe es mit GUICtrlSetImage in dem GUI erscheinen zu lassen. Es wird aber nicht angezeigt. Hier kurz nen Beispielcode: $Form1 = GUICreate("Form1", 259, 341, 192, 164) $Pic1 = GUICtrlCreatePic("", 8, 176, 241, 73) GUISetState(@SW_SHOW) ...



All times are GMT +1. The time now is 13:09.


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.