#define WM_SYSTRAY              (WM_USER+0)

#define WM_VALID_CONFIG         (WM_APP+0)
#define WM_INVALID_CONFIG       (WM_APP+1)
#define WM_NEW_CHAIN            (WM_APP+2)
#define WM_TERMINATE            (WM_APP+3)

#define WM_CAPWIN_DESTROY       (WM_APP+0x67)
#define WM_CAPWIN_NET_DOWN      (WM_APP+0x68)
#define WM_CAPWIN_NET_UP        (WM_APP+0x69)
#define WM_CAPWIN_AUTH_OK       (WM_APP+0x70)
#define WM_CAPWIN_AUTH_FAIL     (WM_APP+0x71)

#define IDI_STUNNEL_MAIN        10
#define IDI_STUNNEL_ACTIVE      11
#define IDI_STUNNEL_ERROR       12
#define IDI_STUNNEL_IDLE        13

#define IDE_EDIT                20
#define IDE_PASSEDIT            21
#define IDE_PINEDIT             22
#define IDE_PAUSE               23
#define IDE_PASSPHRASE_LABEL    24

#define IDM_TRAYMENU            30
#define IDM_MAINMENU            31
#define IDM_CLOSE               32
#define IDM_EXIT                33
#define IDM_SHOW_LOG            34

#define IDM_SAVE_LOG            40
#define IDM_REOPEN_LOG          41
#define IDM_CONNECTIONS         42
#define IDM_EDIT_CONFIG         43
#define IDM_RELOAD_CONFIG       44

#define IDM_ABOUT               50
#define IDM_MANPAGE             51
#define IDM_HOMEPAGE            52

#define IDM_PEER_MENU           60

#define IDS_SERVICE_DESC        70
