Register for your free account! | Forgot your password?

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

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

Advertisement



[Autoit]Hilfe

Discussion on [Autoit]Hilfe within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1

 
itelligence's Avatar
 
elite*gold: 0
The Black Market: 110/0/0
Join Date: Oct 2007
Posts: 1,594
Received Thanks: 119
[Autoit]Hilfe

Hab hier einen code, hab ein wenig angefangen mit autoit und dem Koda Designer.
Hab ein Backgroundpic erstellt und jetzt hab ich noch ein Elitepvpers logo in die ecke getan. Jetzt möchte ich:
Wenn man auf das Elitepvpersbild klickt,
PHP Code:
www.elitepvpers.com 
geöffnet wird.
Hab ein paar tutorials darüber angeschaut, aber die machen das nur mit buttons.
hier der code

Code:
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 1001, 601, 196, 121)
$Pic1 = GUICtrlCreatePic("C:\Users\MasterC\Desktop\Neuer Ordner\background.jpg", 0, 0, 1000, 600)
$Elite = GUICtrlCreatePic("C:\Users\MasterC\Desktop\Neuer Ordner\elitepvpers.jpg", 7, 531, 305, 63)
GUICtrlSetTip(-1, "Elitepvpers.com")
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
	$nMsg = GUIGetMsg()
	Switch $nMsg
		Case $GUI_EVENT_CLOSE
			Exit

		Case $Elite
		   ShellExecute("www.elitepvpers.com")
	EndSwitch
WEnd
itelligence is offline  
Old 07/18/2012, 09:09   #2
 
TheAldi's Avatar
 
elite*gold: 21
Join Date: Jan 2010
Posts: 1,904
Received Thanks: 462
Code:
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 1001, 601, 196, 121)
$Pic1 = GUICtrlCreatePic("C:\Users\MasterC\Desktop\Neuer Ordner\background.jpg", 0, 0, 1000, 600[COLOR="Red"],0[/COLOR])
$Elite = GUICtrlCreatePic("C:\Users\MasterC\Desktop\Neuer Ordner\elitepvpers.jpg", 7, 531, 305, 63)
GUICtrlSetTip(-1, "Elitepvpers.com")
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
	$nMsg = GUIGetMsg()
	Switch $nMsg
		Case $GUI_EVENT_CLOSE
			Exit
		Case $Elite
		   ShellExecute("www.elitepvpers.com")
	EndSwitch
WEnd
Das ",0" als Style muss im Hintergrund angegeben sein damit das zweite Bild auf drücken reagiert
$Pic1 = GUICtrlCreatePic("C:\Users\MasterC\Desktop\Neuer Ordner\background.jpg", 0, 0, 1000, 600,0)
TheAldi is offline  
Reply




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


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.