summaryrefslogtreecommitdiff
path: root/plugins/TooltipNotify/src/main.rc
blob: fe1fbad85f2218d1b53119a7fdaa42f6f06b8810 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
// Microsoft Visual C++ generated resource script.
//
#include "resource.h"

#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#define APSTUDIO_HIDDEN_SYMBOLS
#include "windows.h"
#undef APSTUDIO_HIDDEN_SYMBOLS

/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS

/////////////////////////////////////////////////////////////////////////////
// Russian resources

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_RUS)
#ifdef _WIN32
LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
#pragma code_page(1251)
#endif //_WIN32

#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//

1 TEXTINCLUDE 
BEGIN
    "resource.h\0"
END

2 TEXTINCLUDE 
BEGIN
    "#define APSTUDIO_HIDDEN_SYMBOLS\r\n"
    "#include ""windows.h""\r\n"
    "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n"
    "\0"
END

3 TEXTINCLUDE 
BEGIN
    "#include ""version.rc2""\0"
END

#endif    // APSTUDIO_INVOKED

#endif    // Russian resources
/////////////////////////////////////////////////////////////////////////////


/////////////////////////////////////////////////////////////////////////////
// English (U.S.) resources

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
#ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)
#endif //_WIN32

/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//

IDD_PROTOS DIALOGEX 0, 0, 106, 138
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_POPUP | 
    WS_CAPTION | WS_SYSMENU
CAPTION "Select protocols"
FONT 8, "MS Shell Dlg", 0, 0, 0x0
BEGIN
    DEFPUSHBUTTON   "OK",IDOK,28,117,50,14
    CONTROL         "List1",IDC_PROTOS,"SysListView32",LVS_LIST | 
                    LVS_SINGLESEL | LVS_NOCOLUMNHEADER | LVS_NOSORTHEADER | 
                    WS_BORDER | WS_TABSTOP,7,7,91,103
END

IDD_CONTACTS DIALOGEX 0, 0, 284, 234
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_POPUP | 
    WS_CAPTION | WS_SYSMENU
CAPTION "Choose contacts..."
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
    LTEXT           "Allow tooltip notifications for the following users:",
                    IDC_STATIC,8,9,268,9
    CONTROL         "",IDC_CLIST,"CListControl",WS_TABSTOP | 0x3da,7,23,270,
                    180,WS_EX_CLIENTEDGE
    DEFPUSHBUTTON   "OK",IDOK,171,213,50,14
    PUSHBUTTON      "Cancel",IDCANCEL,227,213,50,14
END

IDD_OPTIONS DIALOGEX 0, 0, 316, 250
STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD
EXSTYLE WS_EX_CONTROLPARENT
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
    GROUPBOX        "Notify upon the following events",IDC_STATIC,5,7,304,32,
                    WS_GROUP
    CONTROL         "Online",IDC_ONLINE,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,15,17,46,14
    CONTROL         "Offline",IDC_OFFLINE,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,66,17,46,14
    CONTROL         "All other",IDC_OTHER,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,117,17,52,14
    CONTROL         "Typing",IDC_TYPING,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,174,17,51,14
    PUSHBUTTON      "Protocols",IDC_SEL_PROTO,254,162,46,14
    LTEXT           "Suppress notifications upon connection for",IDC_STATIC,
                    120,93,137,9
    EDITTEXT        IDC_DELAYONCONN,259,91,27,12,ES_RIGHT | ES_NUMBER
    CONTROL         "Spin1",IDC_DELAYONCONNSPIN,"msctls_updown32",
                    UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | 
                    UDS_ARROWKEYS | UDS_NOTHOUSANDS,280,86,11,14
    LTEXT           "sec",IDC_STATIC,290,93,12,10
    CONTROL         "Prefix proto name",IDC_PREFIX_PROTO,"Button",
                    BS_AUTOCHECKBOX | WS_TABSTOP,15,163,70,11
    GROUPBOX        "Duration",IDC_GB_DURATION,5,43,304,30
    LTEXT           "Show tooltip for",IDC_STATIC,15,55,51,10
    EDITTEXT        IDC_DURATION,69,53,36,12,ES_RIGHT | ES_NUMBER
    CONTROL         "Spin1",IDC_DURATIONSPIN,"msctls_updown32",
                    UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | 
                    UDS_ARROWKEYS | UDS_NOTHOUSANDS,100,47,10,14
    LTEXT           "ms",IDC_STATIC,109,55,14,10
    CONTROL         "Duration x2 upon online event",IDC_X2,"Button",
                    BS_AUTOCHECKBOX | WS_TABSTOP,159,55,137,10
    GROUPBOX        "Double click on tooltip",IDC_GB_DBLCLICK,5,78,103,54
    CONTROL         "Shows/Hides CList",IDC_RB_CLIST,"Button",
                    BS_AUTORADIOBUTTON | WS_TABSTOP,15,93,83,11
    CONTROL         "Opens message dialog",IDC_RB_MSGDLG,"Button",
                    BS_AUTORADIOBUTTON | WS_TABSTOP,15,112,88,11
    GROUPBOX        "Behavior",IDC_STATIC,113,78,196,54
    GROUPBOX        "Misc",IDC_STATIC,5,136,304,44
    CONTROL         "Obey 'Suppress online notification' settings",
                    IDC_CONJSOLN,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,119,
                    112,164,11
    CONTROL         "Auto positioning",IDC_AUTOPOS,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,15,147,75,11
    CONTROL         "Transparent input",IDC_TRANSP_INPUT,"Button",
                    BS_AUTOCHECKBOX | WS_TABSTOP,96,147,81,11
    PUSHBUTTON      "Preview",IDC_PREVIEW,201,162,46,14
    GROUPBOX        "Translucency options (Windows 2000/XP only)",
                    IDC_GB_TRANSP,5,185,304,34
    CONTROL         "Transparent tooltip",IDC_TRANSPARENCY,"Button",
                    BS_AUTOCHECKBOX | WS_TABSTOP,15,200,73,9
    CONTROL         "Slider1",IDC_TRANSPARENCY_SLIDER,"msctls_trackbar32",
                    TBS_TOP | TBS_NOTICKS | WS_TABSTOP,94,199,170,11
    LTEXT           "000%",IDC_TRANSPERC,273,201,22,9
    PUSHBUTTON      "Contacts",IDC_IGNORE,254,144,46,14
    CONTROL         "Idle",IDC_IDLE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,
                    227,17,51,14
END


/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//

#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO 
BEGIN
    IDD_PROTOS, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 99
        TOPMARGIN, 7
        BOTTOMMARGIN, 131
    END

    IDD_CONTACTS, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 277
        TOPMARGIN, 7
        BOTTOMMARGIN, 227
    END

    IDD_OPTIONS, DIALOG
    BEGIN
        VERTGUIDE, 5
        VERTGUIDE, 309
        HORZGUIDE, 246
    END
END
#endif    // APSTUDIO_INVOKED

#endif    // English (U.S.) resources
/////////////////////////////////////////////////////////////////////////////



#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
#include "version.rc"
/////////////////////////////////////////////////////////////////////////////
#endif    // not APSTUDIO_INVOKED