/* Тэги контролов */	
#define IDC_NULL 1000
#define IDC_HUP  1001
#define IDC_MUP  1002
#define IDC_LUP  1003
#define IDC_HED  1004
#define IDC_MED  1005
#define IDC_LED  1006
#define IDC_SED  1007
#define IDC_PB   1008
#define IDC_SB   1009
#define IDC_TCHB 1010
#define IDC_SCHB 1011
#define IDC_PED  1012
#define IDC_PRB  1013
#define IDC_PCHB 1014
#define IDC_VOL  1015
/* Тэги меню */
#define IDM_SETS 101
#define IDM_HELP 102
#define IDM_EXIT 103
#define IDM_INFO 104
#define IDM_RPLY 105
#define IDM_BEST 106
#define IDM_SETP 107
#define IDM_WASM 108
#define IDM_BIG  109
#define IDM_UG   110
#define IDM_SITE 111
#define IDM_WPLR 112
#define IDM_AURN 113
#define IDM_SAVE 114
#define IDM_AUTR 115
/* Тэги трея */
#define IDT_TIME 1101
#define IDT_SND  1102
#define IDT_PROC 1103

10001 ICON alarm2.ico
10002 BITMAP volume.bmp

clock MENU
 {
   POPUP "&Опции"
    {
      MENUITEM "&Задать звонок...", IDM_SETS
      MENUITEM "Задать &процесс...", IDM_SETP
      MENUITEM SEPARATOR
      MENUITEM "Автозагрузка", IDM_AURN
      MENUITEM "Сохранить настройки", IDM_SAVE
      MENUITEM "Автосворачивание", IDM_AUTR
      MENUITEM SEPARATOR
      MENUITEM "&Выйти", IDM_EXIT
    }
   POPUP "&Информация"
    {
      MENUITEM "&О программе...", IDM_INFO
//      MENUITEM "&Помощь...", IDM_HELP
    }
   POPUP "&Утилиты"
    {
      MENUITEM "&Проигрыватель звонков...", IDM_WPLR
      POPUP "&Сайты"
       {       
         MENUITEM "&Windows Assembly Site", IDM_WASM
         MENUITEM "&Underground Guide", IDM_UG
         MENUITEM "&Burning Inside Group", IDM_BIG
       }
    }
 }
/* Основное окно */
ClockDialog DIALOG 0, 0, 158, 82
CAPTION "B.i.G. Alarm Clock 2.5"
STYLE WS_BORDER | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX
FONT 8, "MS Sans Serif"
MENU clock
 {
   GROUPBOX "", IDC_NULL, 0, -3, 158, 84
   GROUPBOX "", IDC_NULL, 104, 13, 50, 53
   LTEXT "Час", IDC_NULL, 4, 7, 20, 10
   LTEXT "Минута", IDC_NULL, 36, 7, 30, 10
   LTEXT "Длина", IDC_NULL, 68, 7, 30, 10
   CONTROL "", IDC_HUP, "msctls_updown32", UDS_WRAP, 4, 17, 8, 11
   CONTROL "", IDC_MUP, "msctls_updown32", UDS_WRAP, 36, 17, 8, 11
   CONTROL "", IDC_LUP, "msctls_updown32", UDS_WRAP, 68, 17, 8, 11
   CONTROL "", IDC_HED, "nofocusedit", ES_LEFT | WS_BORDER, 15, 17, 18, 11
   CONTROL "", IDC_MED, "nofocusedit", ES_LEFT | WS_BORDER, 47, 17, 18, 11
   CONTROL "", IDC_LED, "nofocusedit", ES_LEFT | WS_BORDER, 79, 17, 18, 11
   LTEXT "Звонок", IDC_NULL, 4, 31, 30, 10
   CONTROL "", IDC_SED, "noinputedit", ES_LEFT | WS_BORDER | ES_AUTOHSCROLL | ES_LOWERCASE, 4, 41, 94, 11
   LTEXT "Таймер", IDC_NULL, 104, 7, 30, 10
   PUSHBUTTON "Проиграть", IDC_PB, 107, 20, 44, 14
   PUSHBUTTON "Звонок", IDC_SB, 107, 35, 44, 14
   PUSHBUTTON "Процесс", IDC_PRB, 107, 49, 44, 14
   CHECKBOX "", IDC_TCHB, 145, 7, 8, 8, BS_AUTOCHECKBOX | WS_TABSTOP
   CHECKBOX "", IDC_SCHB, 90, 31, 8, 8, BS_AUTOCHECKBOX | WS_TABSTOP
   LTEXT "Звук", IDC_NULL, 68, 31, 20, 10
   LTEXT "Новый процесс", IDC_NULL, 4, 56, 60, 10
   CONTROL "", IDC_PED, "noinputedit", ES_LEFT | WS_BORDER | ES_AUTOHSCROLL | ES_LOWERCASE, 4, 67, 94, 11
   CHECKBOX "", IDC_PCHB, 90, 56, 8, 8, BS_AUTOCHECKBOX | WS_TABSTOP
   CONTROL 10002, IDC_NULL, "static", SS_BITMAP | WS_CHILD | WS_VISIBLE, 104, 68, 1, 1
   CONTROL "", IDC_VOL, "msctls_trackbar32", TBS_AUTOTICKS | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 118, 67, 36, 11   
 }
/* Окно About */
/* Константы */ 
#define IDC_AOKB 1001
/* Интерфейс */ 
AboutDialog DIALOG 0, 0, 120, 60
CAPTION "О программе"
STYLE WS_BORDER | WS_CAPTION | WS_SYSMENU
FONT 8, "MS Sans Serif"
 {
   GROUPBOX "", IDC_NULL, 0, -3, 120, 62
   LTEXT "B.i.G. Alarm Clock 2.5\n\n"
         "Aquila / B.i.G.\n\n"
         "(c) 2001\n"
         "It's burning inside.", 
         IDC_NULL, 3, 6, 114, 50, SS_CENTER
 } 
/* Меню для отображения при нажатии на правую кнопку мыши над иконкой в трее */
traymenu MENU
 {
   POPUP "Tray"
    {
      MENUITEM "&Таймер", IDT_TIME
      MENUITEM "&Звук", IDT_SND
      MENUITEM "&Процесс", IDT_PROC
      MENUITEM SEPARATOR
      MENUITEM "З&адать звонок...", IDM_SETS
      MENUITEM "За&дать процесс...", IDM_SETP      
      MENUITEM SEPARATOR
      MENUITEM "Автозагрузка", IDM_AURN
      MENUITEM "Сохранить настройки", IDM_SAVE
      MENUITEM "Автосворачивание", IDM_AUTR
      MENUITEM SEPARATOR
      MENUITEM "&Проигрыватель звонков...", IDM_WPLR
      POPUP "&Сайты"
       {       
         MENUITEM "&Windows Assembly Site", IDM_WASM
         MENUITEM "&Underground Guide", IDM_UG
         MENUITEM "&Burning Inside Group", IDM_BIG
       }
      MENUITEM SEPARATOR
      MENUITEM "&Выйти", IDM_EXIT 
    }  
 }
/* Окно проигрывателя звонков */
/* Константы */
#define IDC_FILELIST  1001
#define IDC_DISKCOMBO 1002
/* Интерфейс */
WavePlayerDialog DIALOG 0, 0, 150, 121
CAPTION "Проигрыватель звонков"
STYLE WS_BORDER | WS_CAPTION | WS_SYSMENU
FONT 8, "MS Sans Serif"
 {
   CONTROL "", IDC_DISKCOMBO, "ComboBoxEx32", CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP | WS_CHILD, 0, 0, 150, 60
   LISTBOX IDC_FILELIST, 0, 14, 150, 115, LBS_NOTIFY | WS_BORDER | WS_VSCROLL | WS_TABSTOP
 }
/* Иконки */
; 10101 BITMAP folder.bmp 
;10102 BITMAP sound.bmp 
10103 BITMAP floppy.bmp
10104 BITMAP hdd.bmp 
10105 BITMAP cdrom.bmp