Jump to content

Image form


PlayHD
 Share

Recommended Posts

hy i have a little problem...

first think sorry for my english :-/

now i want to make a form.

but not a form with a window

a form like this

not that complicated but like so...

You can help me:D

Sorry if you do not really understand my problem!

Thanks in advance!

Link to comment
Share on other sites

Try this: http://www.mediafire.com/?wg1ilgc1lir7aw5

Posted Image

I was too lazy to create a nicer looking GUI...

Br,

UEZ

Edited by UEZ

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Link to comment
Share on other sites

Try this:

#include <Static_ButtonHover.au3>
$NORMAL_hBMP = LoadBitmap_FromFile("NORMAL2.bmp")
$PRESS_hBMP = LoadBitmap_FromFile("PRESS2.bmp")
$OVER_hBMP = LoadBitmap_FromFile("OVER2.bmp")
$TEXTCOLOOR = 0xFFFFFF
 
$hGUI = GUICreate("GUI Test", 800, 575, -1, -1, $WS_POPUP)
GUISetBkColor(0x000000, $hGUI)
 
$Pic_Bg = GUICtrlCreatePic("Background.bmp", 0, 0, 0, 0)
GUICtrlSetState(-1, $GUI_DISABLE)
 
$Label_Logo1 = GUICtrlCreateLabel("Test", 258, 0, 130, 78)
GUICtrlSetFont(-1, 44, 800, 0, "Comic Sans MS", 4)
GUICtrlSetColor(-1, 0xE6E6FA)
GUICtrlSetBkColor(-1, -2)
$Label_Logo2 = GUICtrlCreateLabel("GUI", 386, 4, 146, 77)
GUICtrlSetFont(-1, 56, 800, 0, "Times New Roman", 4)
GUICtrlSetColor(-1, 0xFFEBCD)
GUICtrlSetBkColor(-1, -2)
 
$Button_Home = CreateButtonHover ("HOME", 18, 90, 120, 35, $NORMAL_hBMP, $PRESS_hBMP, $OVER_hBMP, $TEXTCOLOOR)
GUICtrlSetFont(-1, 12, 800, 0,  "Times New Roman")
GUICtrlSetColor(-1, 0x101010)
$Button_Guild = CreateButtonHover ("GUILD", 148, 90, 120, 35, $NORMAL_hBMP, $PRESS_hBMP, $OVER_hBMP, $TEXTCOLOOR)
GUICtrlSetFont(-1, 12, 800, 0,  "Times New Roman")
GUICtrlSetColor(-1, 0x101010)
$Button_Item = CreateButtonHover ("ITEM", 278, 90, 120, 35, $NORMAL_hBMP, $PRESS_hBMP, $OVER_hBMP, $TEXTCOLOOR)
GUICtrlSetFont(-1, 12, 800, 0,  "Times New Roman")
GUICtrlSetColor(-1, 0x101010)
$Button_Forum = CreateButtonHover ("FORUM", 408, 90, 120, 35, $NORMAL_hBMP, $PRESS_hBMP, $OVER_hBMP, $TEXTCOLOOR)
GUICtrlSetFont(-1, 12, 800, 0,  "Times New Roman")
GUICtrlSetColor(-1, 0x101010)
$Button_System = CreateButtonHover ("SYSTEM", 538, 90, 120, 35, $NORMAL_hBMP, $PRESS_hBMP, $OVER_hBMP, $TEXTCOLOOR)
GUICtrlSetFont(-1, 12, 800, 0,  "Times New Roman")
GUICtrlSetColor(-1, 0x101010)
$Button_Password = CreateButtonHover ("PASSWORD", 668, 90, 120, 35, $NORMAL_hBMP, $PRESS_hBMP, $OVER_hBMP, $TEXTCOLOOR)
GUICtrlSetFont(-1, 12, 800, 0,  "Times New Roman")
GUICtrlSetColor(-1, 0x101010)
 
$Button_StartGame = CreateButtonHover ("START GAME", 565, 140, 223, 45, $NORMAL_hBMP, $PRESS_hBMP, $OVER_hBMP, $TEXTCOLOOR)
GUICtrlSetFont(-1, 14, 800, 0,  "Times New Roman")
GUICtrlSetColor(-1, 0x101010)
$Button_Password = CreateButtonHover ("REGISTER", 565, 190, 223, 45, $NORMAL_hBMP, $PRESS_hBMP, $OVER_hBMP, $TEXTCOLOOR)
GUICtrlSetFont(-1, 12, 800, 0,  "Times New Roman")
GUICtrlSetColor(-1, 0x101010)
 
$Button_Min = CreateButtonHover ("_", 740, 10, 20, 25, $NORMAL_hBMP, $PRESS_hBMP, $OVER_hBMP, $TEXTCOLOOR)
GUICtrlSetFont(-1, 12, 800, 0,  "Arial")
GUICtrlSetColor(-1, 0x501010)
 
$Button_Exit = CreateButtonHover ("X", 765, 10, 20, 25, $NORMAL_hBMP, $PRESS_hBMP, $OVER_hBMP, $TEXTCOLOOR)
GUICtrlSetFont(-1, 12, 800, 0,  "Times New Roman")
GUICtrlSetColor(-1, 0x501010)
 
$Pic_Info = GUICtrlCreatePic("NORMAL2.bmp", 18, 140, 530, 400)
GUICtrlSetState(-1, $GUI_DISABLE)
$label_text = @LF
$label_text &= "This is a test text" & @LF & @LF
$label_text &= "Here can be a text you like" & @LF & @LF
$label_text &= "Done with AutoIt"
$Label_Info = GUICtrlCreateLabel($label_text, 50, 180, 470, 325, BitOR($SS_CENTER, $WS_BORDER))
GUICtrlSetBkColor(-1, -2)
GUICtrlSetFont(-1, 24, 400, 0,  "Times New Roman", 5)
GUICtrlSetColor(-1, 0xF01010)
 
 
GUISetState(@SW_SHOW)
 
While 1
$MSG = GUIGetMsg()
Switch $MSG
Case $GUI_EVENT_CLOSE, $Button_Exit
Exit
Case $Button_StartGame
MsgBox(0, "Info", "Start Game was pressed", 10)
Case $Button_Min
GUISetState(@SW_MINIMIZE, $hGUI)
EndSwitch
WEnd

Br,

UEZ

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

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...