alt-andrew
Новичок
- Сообщения
- 19
- Репутация
- 2
Доброго времени суток.Такая вот проблема-После запуса скрипта не отбражаются кнопки.Что нитак?
Код:
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
$GUI1 = GUICreate("Total Influence Online Bot - Главное Меню", 627, 451, 315, 265)
GUISetIcon("C:\temp\bot\ico\MAINICON.ico", -1)
$Button1 = GUICtrlCreateButton("ammo", 258, 195, 110, 20, $BS_BITMAP)
GUICtrlSetImage(-1, "C:\temp\bot\images\ammo.bmp", -1)
GUICtrlSetCursor (-1, 0)
$Button2 = GUICtrlCreateButton("obmun", 258, 147, 110, 20, $BS_BITMAP)
GUICtrlSetImage(-1, "C:\temp\bot\images\obmun.bmp", -1)
GUICtrlSetCursor (-1, 0)
$Button3 = GUICtrlCreateButton("voorug", 258, 243, 110, 20, $BS_BITMAP)
GUICtrlSetImage(-1, "C:\temp\bot\images\voorug.bmp", -1)
GUICtrlSetCursor (-1, 0)
$Button4 = GUICtrlCreateButton("rinok", 258, 291, 110, 20, $BS_BITMAP)
GUICtrlSetImage(-1, "C:\temp\bot\images\pinok.bmp", -1)
GUICtrlSetCursor (-1, 0)
$Button5 = GUICtrlCreateButton("fiud", 261, 339, 105, 20, $BS_BITMAP)
GUICtrlSetImage(-1, "C:\temp\bot\images\flud.bmp", -1)
GUICtrlSetCursor (-1, 0)
$Pic1 = GUICtrlCreatePic("C:\temp\bot\images\backgr.jpg", 0, 0, 625, 449)
$Pic2 = GUICtrlCreatePic("C:\temp\bot\images\logo.jpg", 205, 15, 217, 50)
$Pic3 = GUICtrlCreatePic("C:\temp\bot\images\menu.jpg", 218, 110, 191, 287)
GUISetState(@SW_SHOW)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd