#include "phone.h"


PHONE DIALOG 59, 29, 131, 79
STYLE WS_POPUP | WS_VISIBLE | WS_BORDER
CLASS "BorDlg"
CAPTION "Телефон"
BEGIN
	PUSHBUTTON "1", ID_1, 8, 9, 14, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	PUSHBUTTON "2", ID_2, 24, 9, 14, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	PUSHBUTTON "3", ID_3, 40, 9, 14, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	PUSHBUTTON "4", ID_4, 8, 25, 14, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	PUSHBUTTON "5", ID_5, 24, 25, 14, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	PUSHBUTTON "6", ID_6, 40, 25, 14, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	PUSHBUTTON "7", ID_7, 8, 41, 14, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	PUSHBUTTON "8", ID_8, 24, 41, 14, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	PUSHBUTTON "9", ID_9, 40, 41, 14, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	PUSHBUTTON "0", ID_0, 24, 57, 30, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	PUSHBUTTON "#", ID_REPEAT, 8, 57, 14, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	PUSHBUTTON "Выход", IDCANCEL, 78, 57, 32, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	PUSHBUTTON "Сброс", ID_CLEAR, 66, 41, 28, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	PUSHBUTTON "Набор", ID_DIAL, 78, 25, 32, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	CONTROL "", ID_NUMBER, "EDIT", ES_LEFT | ES_READONLY | WS_CHILD | WS_VISIBLE | WS_BORDER, 66, 10, 58, 12
	PUSHBUTTON "<--", ID_BACK, 96, 41, 28, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	CONTROL "", 110, "BorShade", 1 | WS_CHILD | WS_VISIBLE, 4, 4, 54, 72
	CONTROL "", 112, "BorShade", 1 | WS_CHILD | WS_VISIBLE, 62, 4, 66, 72
END

PHONE ICON "phone.ico"

STRINGTABLE 
BEGIN
	ERR_NO_OPEN, "COM-порт не открыт"
	ERR_DCB_BUILD, "Ошибка DCB"
	ERR_DCB_SET, "Ошибка при установке режимма COM-порта"
	ERR_WRITE, "Ошибка при записи в COM-порта"
	ERR_TIMEOUT, "Модем не отвечает"
	ERR_READ, "Ошибка чтени из COM-порта"
END
