#include <ButtonConstants.au3>
#include <ComboConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
Global $SIZEFONT, $FATFONT, $FONT, $url = "[URL=http://", $urlend = "]", $urlend = "[/URL]", $SF, $FATF, $F
$GO_MESSAGE = GUICreate("ОТПРАВКА СООБЩЕНИЙ", 943, 579, -1, -1)
$LOGIN = GUICtrlCreateInput("Логин", 64, 24, 121, 21)
GUICtrlSetColor(-1, 0x000080)
$PASSWORD = GUICtrlCreateInput("Пароль", 64, 80, 121, 21)
GUICtrlSetColor(-1, 0x000080)
$ADRESS = GUICtrlCreateCombo("http//:", 1, 200, 361, 25)
$Label3 = GUICtrlCreateLabel("ССЫЛКА НА ТЕМУ", 8, 176, 102, 17)
GUICtrlSetColor(-1, 0x000080)
$Label5 = GUICtrlCreateLabel("ПАРОЛЬ", 8, 88, 49, 17)
GUICtrlSetColor(-1, 0xFF0000)
$Label4 = GUICtrlCreateLabel("ЛОГИН", 8, 32, 50, 17)
GUICtrlSetColor(-1, 0xFF0000)
$Label1 = GUICtrlCreateLabel("СООБЩЕНИЕ", 16, 232, 74, 17)
GUICtrlSetColor(-1, 0x000080)
$GO = GUICtrlCreateButton("ОТВЕТИТЬ", 784, 544, 107, 25, $WS_GROUP)
$NEW_ADRES_TEMA = GUICtrlCreateInput("http//:", 368, 200, 409, 21)
$Label2 = GUICtrlCreateLabel("ДОБАВИТЬ ТЕМУ", 376, 176, 106, 17)
GUICtrlSetColor(-1, 0x004E98)
$INSERT_NEW_TEMA = GUICtrlCreateButton("ДОБАВИТЬ", 680, 168, 91, 25, $WS_GROUP)
$FONT = GUICtrlCreateCombo("Arial", 792, 360, 121, 25)
GUICtrlSetData(-1, "Arial Bold|MS Sans Serif|Arial Bold Italic|Arial Italic|Courier|Courier New|Courier New Bold Italic|Lucida Console|MS Sans Serif|Tahoma|Times New Roman|Times New Roman Bold Italic")
$Label7 = GUICtrlCreateLabel("Шрифт", 792, 336, 38, 17)
$SIZEFONT = GUICtrlCreateCombo("8.5", 792, 424, 121, 25)
GUICtrlSetData(-1, "9|10|11|12|13|14|15|16|17|18|19|20|")
$Label8 = GUICtrlCreateLabel("Размер шрифта", 792, 400, 85, 17)
$FATFONT = GUICtrlCreateCombo("400", 792, 488, 121, 25)
GUICtrlSetData(-1, "500|600|700|800|900|1000")
$Label9 = GUICtrlCreateLabel("Жирный шрифта", 792, 464, 98, 17)
$NEW_LOG = GUICtrlCreateButton("СОЗДАТЬ ЛОГ", 816, 16, 99, 25, $WS_GROUP)
$DELLOG = GUICtrlCreateButton("УДАЛИТЬ ЛОГ", 816, 72, 99, 25, $WS_GROUP)
$EDITLOG = GUICtrlCreateButton("РЕДАКТИРОВАТЬ ЛОГ", 784, 128, 131, 25, $WS_GROUP)
$ADRES_IN_MESSAGE = GUICtrlCreateInput("http//:", 1, 136, 361, 21)
$Label10 = GUICtrlCreateLabel("Добавить ссылку в сообщение", 8, 112, 163, 17)
$ADRES_INSERT_MESAGE = GUICtrlCreateButton("ДОБАВИТЬ", 272, 104, 83, 25, $WS_GROUP)
$MESSAGE = GUICtrlCreateEdit("Введи не менее 10 символов!", 1, 256, 777, 321)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $FONT, $SIZEFONT, $FATFONT
GUICtrlSetFont($MESSAGE, GUICtrlRead($SIZEFONT), GUICtrlRead($FATFONT), 0, GUICtrlRead($FONT))
EndSwitch
WEnd