1//Microsoft Developer Studio generated resource script.
2//
3#include "resource.h"
4
5#define APSTUDIO_READONLY_SYMBOLS
6/////////////////////////////////////////////////////////////////////////////
7//
8// Generated from the TEXTINCLUDE 2 resource.
9//
10#include "winresrc.h"
11#ifndef	IDC_STATIC
12#define	IDC_STATIC (-1)
13#endif
14#include "version.h"
15
16/////////////////////////////////////////////////////////////////////////////
17#undef APSTUDIO_READONLY_SYMBOLS
18
19/////////////////////////////////////////////////////////////////////////////
20// Japanese resources
21
22#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_JPN)
23#ifdef _WIN32
24LANGUAGE LANG_JAPANESE, SUBLANG_DEFAULT
25#pragma code_page(932)
26#endif //_WIN32
27
28/////////////////////////////////////////////////////////////////////////////
29//
30// Dialog
31//
32
33DLG_CONFIG DIALOGEX 65, 43, 359, 219
34STYLE DS_MODALFRAME | DS_3DLOOK | DS_CENTER | WS_POPUP | WS_VISIBLE |
35    WS_CAPTION | WS_SYSMENU
36#ifdef UNICODE_SUPPORT
37CAPTION "PostgreSQL Unicode ODBC �Z�b�g�A�b�v"
38#else
39CAPTION "PostgreSQL ANSI ODBC �Z�b�g�A�b�v"
40#endif
41FONT 9, "�l�r �S�V�b�N", 0, 0, 0x1
42BEGIN
43    RTEXT           "�f�|�^�\�|�X��:(&N)",IDC_DSNAMETEXT,2,9,63,17,NOT
44                    WS_GROUP,WS_EX_TRANSPARENT | WS_EX_RIGHT
45    EDITTEXT        IDC_DSNAME,72,12,188,13,ES_AUTOHSCROLL | WS_GROUP,
46                    WS_EX_TRANSPARENT
47    RTEXT           "����:(&D)",IDC_DESCTEXT,5,31,60,16,SS_CENTERIMAGE | NOT
48                    WS_GROUP,WS_EX_TRANSPARENT | WS_EX_RIGHT
49    EDITTEXT        IDC_DESC,72,32,188,13,ES_AUTOHSCROLL,WS_EX_TRANSPARENT
50    RTEXT           "SSL Mode:(&L)",IDC_STATIC,16,49,49,9,NOT WS_GROUP
51    COMBOBOX        IDC_SSLMODE,72,47,90,56,CBS_DROPDOWNLIST | WS_VSCROLL |
52                    WS_TABSTOP
53    LTEXT           "libpq���C�u����load�s��:SSL�ڑ��͎g�p�ł��܂���",
54                    IDC_NOTICE_USER,165,50,190,10
55    RTEXT           "�T�|�o�|��:(&S)",IDC_STATIC,17,68,48,15,NOT WS_GROUP
56    EDITTEXT        IDC_SERVER,72,66,203,14,ES_AUTOHSCROLL
57    RTEXT           "�f�|�^�x�|�X��:(&b)",IDC_STATIC,5,91,60,15,NOT WS_GROUP
58    EDITTEXT        IDC_DATABASE,72,88,203,14,ES_AUTOHSCROLL
59    RTEXT           "&Port:",IDC_STATIC,281,101,22,11
60    EDITTEXT        IDC_PORT,307,99,37,14,ES_AUTOHSCROLL
61    RTEXT           "���|�U�|��:(&U)",IDC_STATIC,18,139,47,15
62    EDITTEXT        IDC_USER,72,135,162,14,ES_AUTOHSCROLL
63    RTEXT           "�p�X���|�h:(&w)",IDC_STATIC,21,159,46,15
64    EDITTEXT        IDC_PASSWORD,72,157,162,13,ES_PASSWORD | ES_AUTOHSCROLL
65    DEFPUSHBUTTON   "OK",IDOK,295,61,52,14,WS_GROUP
66    PUSHBUTTON      "�L�����Z��",IDCANCEL,296,80,51,14
67    GROUPBOX        "�I�v�V���� (���x�Ȑݒ�)",IDC_OPTIONS,249,119,99,59,
68                    BS_CENTER
69    PUSHBUTTON      "�S�̐ݒ�",IDC_DRIVER,269,155,53,15
70    PUSHBUTTON      "�f�|�^�\�|�X",IDC_DATASOURCE,269,132,53,15
71    GROUPBOX        "����̔F��",IDC_STATIC,11,119,235,59
72    LTEXT           "PostgreSQL Ver7.3  Copyright (C) 1998-2006; Insight Distribution Systems",
73                    IDC_STATIC,36,186,302,9
74    LTEXT           "In the original form, Japanese patch Hiroshi-saito",
75                    IDC_STATIC,35,198,295,8
76    PUSHBUTTON      "�Ǘ�",IDC_MANAGEDSN,295,10,50,14
77    PUSHBUTTON      "�e�X�g",IDC_TEST,296,30,51,14
78END
79
80#define	MISC_X
81#define	MISC_Y	155
82#define	MISC_Y1	(MISC_Y+11)
83#define	MISC_Y2	(MISC_Y+28)
84#define	MISC_Y3	(MISC_Y+45)
85
86DLG_OPTIONS_DRV DIALOG DISCARDABLE  0, 0, 350, 241
87STYLE DS_MODALFRAME | DS_3DLOOK | DS_CENTER | WS_POPUP | WS_CAPTION |
88    WS_SYSMENU
89CAPTION "���x�Ȑݒ� (�f�[�^�\�[�X�P)"
90FONT 9, "�l�r �S�V�b�N"
91BEGIN
92    PUSHBUTTON      "�ݒ�2",ID2NDPAGE,5,5,40,15
93    PUSHBUTTON      "�ݒ�3",ID3RDPAGE,49,5,40,15
94    CONTROL         "��ʃ��O�o�͂�����(&L) (C:\\psqlodbc.log)",DRV_COMMLOG,
95                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,167,24,167,10
96    EDITTEXT        DS_COMMLOG,337,24,13,12,ES_AUTOHSCROLL | WS_GROUP,
97                    WS_EX_TRANSPARENT
98    CONTROL         "���j�|�N�C���f�b�N�X���g��(&I)",DRV_UNIQUEINDEX,"Button",
99                    BS_AUTOCHECKBOX | WS_TABSTOP,15,56,129,10
100    CONTROL         "�^�C���A�E�g����",DS_IGNORETIMEOUT,"Button",
101                    BS_AUTOCHECKBOX | WS_TABSTOP,167,56,129,10
102    CONTROL         "�X�e�|�g�����g�̍\����͂��s�Ȃ�(&a)",DRV_PARSE,"Button",
103                    BS_AUTOCHECKBOX | WS_TABSTOP,167,40,152,10
104    CONTROL         "Declare�`Fetch���g�p����(&U)",DRV_USEDECLAREFETCH,
105                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,71,138,10
106    CONTROL         "�ڍ׃��O�o�͂�����(C:\\mylog_xxxx.log)",DRV_DEBUG,
107                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,167,69,164,10
108    EDITTEXT        DS_DEBUG,337,69,13,12,ES_AUTOHSCROLL | WS_GROUP,
109                    WS_EX_TRANSPARENT
110    GROUPBOX        "���m�̃T�C�Y����",IDC_STATIC,5,85,340,31
111    CONTROL         "�ő���Ƃ�",DRV_UNKNOWN_MAX,"Button",BS_AUTORADIOBUTTON |
112                    WS_GROUP | WS_TABSTOP,17,98,57,10
113    CONTROL         "���肵�Ȃ�",DRV_UNKNOWN_DONTKNOW,"Button",
114                    BS_AUTORADIOBUTTON | WS_TABSTOP,99,98,59,10
115    CONTROL         "�Œ����Ƃ�",DRV_UNKNOWN_LONGEST,"Button",
116                    BS_AUTORADIOBUTTON | WS_TABSTOP,173,98,60,10
117    GROUPBOX        "�f�|�^ �^�C�v �I�v�V����",IDC_STATIC,5,119,340,32
118    CONTROL         "text��������Ƃ��Ĉ���",DRV_TEXT_LONGVARCHAR,"Button",
119                    BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,12,132,107,10
120    CONTROL         "�s����������Ƃ��Ĉ���",DRV_UNKNOWNS_LONGVARCHAR,
121                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,123,132,117,10
122    CONTROL         "Char�Ƃ���Bools������",DRV_BOOLS_CHAR,"Button",
123                    BS_AUTOCHECKBOX | WS_TABSTOP,243,132,96,10
124    GROUPBOX        "���̑�",IDC_STATIC,5,MISC_Y,340,57
125    LTEXT           "�ő�&Varchar:",IDC_STATIC,13,MISC_Y1+1,54,8
126    EDITTEXT        DRV_VARCHAR_SIZE,70,MISC_Y1,35,12,ES_AUTOHSCROLL
127    LTEXT           "�ő�Lon&gVarChar:",IDC_STATIC,148,MISC_Y1+2,66,8
128    EDITTEXT        DRV_LONGVARCHAR_SIZE,219,MISC_Y1,35,12,ES_AUTOHSCROLL
129    LTEXT           "���������:",IDC_STATIC,21,MISC_Y2+1,39,8
130    EDITTEXT        DRV_CACHE_SIZE,69,MISC_Y2-1,35,12,ES_AUTOHSCROLL
131    LTEXT           "����ð��� ���̨��:",IDC_STATIC,140,MISC_Y2+1,74,9
132    EDITTEXT        DRV_EXTRASYSTABLEPREFIXES,219,MISC_Y2-1,71,12,ES_AUTOHSCROLL
133    LTEXT           "�o�b�`�T�C�Y:",IDC_STATIC,13,MISC_Y3+1,74,9
134    EDITTEXT        DS_BATCH_SIZE,69,MISC_Y3-1,35,12,ES_AUTOHSCROLL
135    DEFPUSHBUTTON   "OK",IDOK,5,221,50,15,WS_GROUP
136    PUSHBUTTON      "�L�����Z��",IDCANCEL,68,221,50,15
137    PUSHBUTTON      "�K�p",IDAPPLY,132,221,50,15
138    PUSHBUTTON      "�f�t�H���g",IDDEFAULTS,295,221,50,15
139END
140
141#define	CONNSETTINGS_Y	185	// 191
142#define	KEEPALIVE_X	5
143#define	KEEPALIVE_Y	225
144#define	ENDLINE_Y	245	// 224
145
146DLG_OPTIONS_DS DIALOG DISCARDABLE  0, 0, 306, 260
147STYLE DS_MODALFRAME | DS_3DLOOK | DS_CENTER | WS_POPUP | WS_CAPTION |
148    WS_SYSMENU
149CAPTION "���x�Ȑݒ� (�f�[�^�\�[�X�Q)"
150FONT 9, "�l�r �S�V�b�N"
151BEGIN
152    PUSHBUTTON      "�ݒ�3",ID3RDPAGE,49,5,40,15
153    PUSHBUTTON      "�ݒ�1",ID1STPAGE,5,5,40,15
154    CONTROL         "���|�h�I�����B(&R)",DS_READONLY,"Button",
155                    BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,15,26,102,10
156    CONTROL         "�o�|�W������\��(&V)",DS_ROWVERSIONING,"Button",
157                    BS_AUTOCHECKBOX | WS_TABSTOP,139,25,114,10
158    CONTROL         "�V�X�e���e�|�u����\��(&T)",DS_SHOWSYSTEMTABLES,"Button",
159                    BS_AUTOCHECKBOX | WS_TABSTOP,15,41,111,10
160    CONTROL         "�⏕�I�G���[���b�Z�[�W��\��",DS_OPTIONALERRORS,"Button",
161                    BS_AUTOCHECKBOX | WS_TABSTOP,139,41,162,10
162    CONTROL         "LF <-> CR/LF �ϊ����s��",DS_LFCONVERSION,"Button",
163                    BS_AUTOCHECKBOX | WS_TABSTOP,15,56,106,10
164    CONTROL         "-1 ��^�l(True)�Ƃ���",DS_TRUEISMINUS1,"Button",
165                    BS_AUTOCHECKBOX | WS_TABSTOP,139,55,98,10
166    CONTROL         "�X�V�”\�J�[�\��",DS_UPDATABLECURSORS,"Button",
167                    BS_AUTOCHECKBOX | WS_TABSTOP,15,71,87,10
168    CONTROL         "�T�[�o�[�� Prepare(7.3�Ȍ�)",DS_SERVERSIDEPREPARE,
169                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,139,70,122,10
170    GROUPBOX        "Int8 �̑�֒�`",IDC_STATIC,5,98,256,25
171    CONTROL         "default",DS_INT8_AS_DEFAULT,"Button",BS_AUTORADIOBUTTON |
172                    WS_GROUP,12,108,40,10
173    CONTROL         "bigint",DS_INT8_AS_BIGINT,"Button",BS_AUTORADIOBUTTON |
174                    WS_TABSTOP,55,108,35,10
175    CONTROL         "numeric",DS_INT8_AS_NUMERIC,"Button",BS_AUTORADIOBUTTON |
176                    WS_TABSTOP,98,108,40,10
177    CONTROL         "varchar",DS_INT8_AS_VARCHAR,"Button",BS_AUTORADIOBUTTON |
178                    WS_TABSTOP,141,108,40,10
179    CONTROL         "double",DS_INT8_AS_DOUBLE,"Button",BS_AUTORADIOBUTTON |
180                    WS_TABSTOP,184,108,40,10
181    CONTROL         "int4",DS_INT8_AS_INT4,"Button",BS_AUTORADIOBUTTON |
182                    WS_TABSTOP,227,108,29,10
183    LTEXT           "���ʂȃI�v�V����",IDC_STATIC,227,158,66,8
184    EDITTEXT        DS_EXTRA_OPTIONS,227,168,35,14,ES_AUTOHSCROLL
185    GROUPBOX        "Numeric(���x�w��Ȃ�) �̑�֒�`",IDC_STATIC,5,128,160,25
186    CONTROL         "default",DS_NUMERIC_AS_DEFAULT,"Button",BS_AUTORADIOBUTTON |
187                    WS_GROUP,12,140,40,10
188//    CONTROL         "numeric",DS_NUMERIC_AS_NUMERIC,"Button",BS_AUTORADIOBUTTON |
189//                    WS_TABSTOP,50,140,40,10
190    CONTROL         "memo",DS_NUMERIC_AS_LONGVARCHAR,"Button",BS_AUTORADIOBUTTON |
191                    WS_TABSTOP,126,140,40,10
192    CONTROL         "varchar",DS_NUMERIC_AS_VARCHAR,"Button",BS_AUTORADIOBUTTON |
193                    WS_TABSTOP,50,140,40,10
194    CONTROL         "double",DS_NUMERIC_AS_DOUBLE,"Button",BS_AUTORADIOBUTTON |
195                    WS_TABSTOP,90,140,36,10
196    GROUPBOX        "�G���[���̃��[���o�b�N���s",IDC_STATIC,170,128,130,25
197    CONTROL         "����",DS_NO_ROLLBACK,"Button",BS_AUTORADIOBUTTON |
198                    WS_GROUP,175,139,30,10
199    CONTROL         "�S��ݾ�",DS_TRANSACTION_ROLLBACK,"Button",
200                    BS_AUTORADIOBUTTON | WS_TABSTOP,205,140,50,10
201    CONTROL         "���P��",DS_STATEMENT_ROLLBACK,"Button",
202                    BS_AUTORADIOBUTTON | WS_TABSTOP,260,140,35,10
203    GROUPBOX        "OID �I�v�V����",IDC_STATIC,5,158,206,25
204    CONTROL         "�J������\��(&C)",DS_SHOWOIDCOLUMN,"Button",
205                    BS_AUTOCHECKBOX | WS_GROUP,16,169,72,10
206    CONTROL         "�C���f�b�N�X����(&I)",DS_FAKEOIDINDEX,"Button",
207                    BS_AUTOCHECKBOX | WS_TABSTOP,107,169,95,10
208    LTEXT           "�ڑ���   �ݒ�:(&S)",IDC_STATIC,13,CONNSETTINGS_Y+3,69,10,NOT
209                    WS_GROUP
210    EDITTEXT        DS_CONNSETTINGS,90,CONNSETTINGS_Y,211,27,ES_MULTILINE |
211                    ES_AUTOVSCROLL | ES_AUTOHSCROLL | ES_WANTRETURN | NOT
212                    WS_TABSTOP
213    GROUPBOX        "TCP KEEPALIVE(�b�P��)",IDC_STATIC,KEEPALIVE_X,KEEPALIVE_Y-10,210,25
214    CONTROL         "���p���Ȃ�",DS_DISABLE_KEEPALIVE,"Button",BS_AUTOCHECKBOX | WS_GROUP, KEEPALIVE_X+5,KEEPALIVE_Y,50,10
215    LTEXT           "�҂�����",IDC_STATIC,KEEPALIVE_X+62,KEEPALIVE_Y,35,10,NOT WS_GROUP
216    EDITTEXT        DS_KEEPALIVETIME,KEEPALIVE_X+100,KEEPALIVE_Y,30,10, ES_AUTOHSCROLL | WS_TABSTOP
217    LTEXT           "�����Ҏ���",IDC_STATIC,KEEPALIVE_X+137,KEEPALIVE_Y,40,10,NOT WS_GROUP
218    EDITTEXT        DS_KEEPALIVEINTERVAL,KEEPALIVE_X+180,KEEPALIVE_Y,30,10, ES_AUTOHSCROLL | WS_TABSTOP
219    DEFPUSHBUTTON   "OK",IDOK,5,ENDLINE_Y,50,14,WS_GROUP
220    PUSHBUTTON      "�L�����Z��",IDCANCEL,66,ENDLINE_Y,50,14
221    PUSHBUTTON      "�K�p",IDAPPLY,128,ENDLINE_Y,50,14
222    CONTROL         "bytea��LO�Ƃ��Ĉ���",DS_BYTEAASLONGVARBINARY,"Button",
223                    BS_AUTOCHECKBOX | WS_TABSTOP,15,85,87,10
224    CONTROL         "�erefcursor���猋�ʂ��擾���܂�",DS_FETCH_REFCURSORS,
225                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,139,85,140,10
226END
227
228#define	DTC_GRP_X	10
229#define	DTC_GRP_Y	60
230#define	DTC_GRP_WIDTH	200
231#define	DTC_GRP_HEIGHT	100
232#define	DTC_OPT_X	(DTC_GRP_X)
233#define	DTC_OPT_Y	(DTC_GRP_Y+10)
234#define	DTC_OPT_WIDTH	180
235#define	DTC_OPT_HEIGHT	45
236#define	DTC_LOG_X	(DTC_GRP_X)
237#define	DTC_LOG_Y	(DTC_OPT_Y+60)
238#define	LIBPQOPT_Y	185
239
240DLG_OPTIONS_DS3 DIALOG DISCARDABLE  0, 0, 306, 243
241STYLE DS_MODALFRAME | DS_3DLOOK | DS_CENTER | WS_POPUP | WS_CAPTION |
242    WS_SYSMENU
243CAPTION "���x�Ȑݒ� (�f�[�^�\�[�X�R)"
244FONT 9, "�l�r �S�V�b�N"
245BEGIN
246    PUSHBUTTON      "�ݒ�2",ID2NDPAGE,49,5,40,15
247    PUSHBUTTON      "�ݒ�1",ID1STPAGE,5,5,40,15
248
249    GROUPBOX        "���U�g�����U�N�V�����֘A�ݒ�",IDC_STATIC,DTC_GRP_X,DTC_GRP_Y,DTC_GRP_WIDTH,DTC_GRP_HEIGHT
250    GROUPBOX        "MSDTC���J�o���[�s�ڑ�������?",IDC_STATIC,DTC_OPT_X,DTC_OPT_Y,DTC_OPT_WIDTH,DTC_OPT_HEIGHT
251    CONTROL         "����",DS_DTC_LINK_ONLY,"Button",BS_AUTORADIOBUTTON |
252                    WS_GROUP,DTC_OPT_X+5,DTC_OPT_Y+10,140,10
253    CONTROL         "sslmode verify-[ca|full]������",DS_DTC_SIMPLE_PRECHECK,"Button",
254                    BS_AUTORADIOBUTTON | WS_TABSTOP,DTC_OPT_X+5,DTC_OPT_Y+20,140,10
255    CONTROL         "���Ȃ�(�ŏ���MSDTC����̐ڑ������m�F)",DS_DTC_CONFIRM_RM_CONNECTION,"Button",
256                    BS_AUTORADIOBUTTON | WS_TABSTOP,DTC_OPT_X+5,DTC_OPT_Y+30,170,10
257    PUSHBUTTON      "�ڑ��e�X�g",IDC_TEST,DTC_OPT_X+60,DTC_OPT_Y+75,51,14
258
259    LTEXT           "libpq�p�����[�^:(&l)",IDC_STATIC,11,LIBPQOPT_Y+3,76,10,NOT
260                    WS_GROUP
261    EDITTEXT        DS_LIBPQOPT,90,LIBPQOPT_Y,211,27,ES_MULTILINE |
262                    ES_AUTOVSCROLL | ES_AUTOHSCROLL | ES_WANTRETURN | NOT
263                    WS_TABSTOP
264
265    DEFPUSHBUTTON   "OK",IDOK,5,224,50,14,WS_GROUP
266    PUSHBUTTON      "�L�����Z��",IDCANCEL,66,224,50,14
267    PUSHBUTTON      "�K�p",IDAPPLY,128,224,50,14
268END
269
270
271#undef	ENDLINE_Y
272#define	ENDLINE_Y	110
273DLG_OPTIONS_GLOBAL DIALOG DISCARDABLE  0, 0, 306, 130
274STYLE DS_MODALFRAME | DS_3DLOOK | DS_CENTER | WS_POPUP | WS_CAPTION |
275    WS_SYSMENU
276CAPTION "���x�Ȑݒ�(�S��)"
277FONT 9, "�l�r �S�V�b�N"
278BEGIN
279    GROUPBOX        "�R�l�N�V�����O�̃f�t�H���g���M���O�I�v�V����",
280                    IDC_STATIC,5,5,296,68
281    CONTROL         "��ʃ��O(&L) (C:\\psqlodbc_xxxx.log - �R�~���j�P�|�V�������O)",
282                    DRV_COMMLOG,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,22,24,
283                    249,10
284    CONTROL         "��p���O (C:\\mylog_xxxx.log - �ڍ׃f�o�b�O�o�̓��O)",
285                    DRV_DEBUG,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,22,42,
286                    220,10
287    RTEXT           "���M���O�p�t�H���_",IDC_STATIC,14,57,79,12
288    EDITTEXT        DS_LOGDIR,98,55,188,13,ES_AUTOHSCROLL | WS_GROUP,
289                    WS_EX_TRANSPARENT
290    GROUPBOX        "MSDTC�T�|�[�g", IDC_STATIC,5,75,296,27
291    CONTROL         "��p���O(C:\\pgdtclog\\mylog_xxxx.log - �f�o�b�O�o�̓��O)",
292                    DRV_DTCLOG,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,22,87,260,10
293    DEFPUSHBUTTON   "�ۑ�",IDOK,5,ENDLINE_Y,50,14,WS_GROUP
294    PUSHBUTTON      "�L�����Z��",IDCANCEL,65,ENDLINE_Y,50,15
295END
296
297DLG_DRIVER_CHANGE DIALOG DISCARDABLE  0, 0, 306, 87
298STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
299CAPTION "�h���C�o�@�A�b�v/�_�E��"
300FONT 10, "Terminal"
301BEGIN
302    DEFPUSHBUTTON   "OK",IDOK,82,68,50,14,WS_GROUP
303    PUSHBUTTON      "�L�����Z��",IDCANCEL,172,67,50,15
304    GROUPBOX        "�h���C�o���X�g",IDC_STATIC,5,5,296,58
305    LTEXT           "�h���C�o��I������������",IDC_STATIC,11,33,105,8
306    LISTBOX         IDC_DRIVER_LIST,124,19,170,33,LBS_SORT |
307                    LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
308END
309
310
311/////////////////////////////////////////////////////////////////////////////
312//
313// DESIGNINFO
314//
315
316#ifdef APSTUDIO_INVOKED
317GUIDELINES DESIGNINFO DISCARDABLE
318BEGIN
319    DLG_CONFIG, DIALOG
320    BEGIN
321        VERTGUIDE, 65
322        VERTGUIDE, 72
323        VERTGUIDE, 260
324        BOTTOMMARGIN, 210
325    END
326
327    DLG_OPTIONS_DRV, DIALOG
328    BEGIN
329        LEFTMARGIN, 5
330        RIGHTMARGIN, 345
331        TOPMARGIN, 5
332        BOTTOMMARGIN, 236
333    END
334
335    DLG_OPTIONS_DS, DIALOG
336    BEGIN
337        LEFTMARGIN, 5
338        RIGHTMARGIN, 301
339        TOPMARGIN, 5
340        BOTTOMMARGIN, 238
341    END
342
343    DLG_OPTIONS_GLOBAL, DIALOG
344    BEGIN
345        LEFTMARGIN, 5
346        RIGHTMARGIN, 301
347        TOPMARGIN, 5
348        BOTTOMMARGIN, 82
349    END
350
351    DLG_DRIVER_CHANGE, DIALOG
352    BEGIN
353        LEFTMARGIN, 5
354        RIGHTMARGIN, 301
355        TOPMARGIN, 5
356        BOTTOMMARGIN, 82
357    END
358END
359#endif    // APSTUDIO_INVOKED
360
361
362#ifdef APSTUDIO_INVOKED
363/////////////////////////////////////////////////////////////////////////////
364//
365// TEXTINCLUDE
366//
367
3681 TEXTINCLUDE DISCARDABLE
369BEGIN
370    "resource.h\0"
371END
372
3732 TEXTINCLUDE DISCARDABLE
374BEGIN
375    "#include ""afxres.h""\r\n"
376    "#include ""version.h""\r\n"
377    "\0"
378END
379
3803 TEXTINCLUDE DISCARDABLE
381BEGIN
382    "\r\n"
383    "\0"
384END
385
386#endif    // APSTUDIO_INVOKED
387
388
389#ifndef _MAC
390/////////////////////////////////////////////////////////////////////////////
391//
392// Version
393//
394
395VS_VERSION_INFO VERSIONINFO
396 FILEVERSION PG_DRVFILE_VERSION
397 PRODUCTVERSION PG_DRVFILE_VERSION
398 FILEFLAGSMASK 0x3L
399#ifdef _DEBUG
400 FILEFLAGS 0x9L
401#else
402 FILEFLAGS 0x8L
403#endif
404 FILEOS 0x4L
405 FILETYPE 0x2L
406 FILESUBTYPE 0x0L
407BEGIN
408    BLOCK "StringFileInfo"
409    BEGIN
410        BLOCK "041104e4"
411        BEGIN
412#ifdef UNICODE_SUPPORT
413            VALUE "Comments", "PostgreSQL Unicode ODBC driver Japanese\0"
414#else
415            VALUE "Comments", "PostgreSQL ANSI ODBC driver Japanese\0"
416#endif
417            VALUE "CompanyName", "PostgreSQL Global Development Group\0"
418            VALUE "FileDescription", "PostgreSQL ODBC Driver (Japanese)\0"
419            VALUE "FileVersion", POSTGRES_RESOURCE_VERSION
420#ifdef UNICODE_SUPPORT
421            VALUE "InternalName", "psqlodbc35w\0"
422#else
423            VALUE "InternalName", "psqlodbc30a\0"
424#endif
425            VALUE "LegalCopyright", "\0"
426            VALUE "LegalTrademarks", "ODBC(TM) is a trademark of Microsoft Corporation.  Microsoft�� is a registered trademark of Microsoft Corporation. Windows(TM) is a trademark of Microsoft Corporation.\0"
427#ifdef UNICODE_SUPPORT
428            VALUE "OriginalFilename", "psqlodbc35w.dll\0"
429#else
430            VALUE "OriginalFilename", "psqlodbc30a.dll\0"
431#endif
432            VALUE "PrivateBuild", "for Japanese by Hiroshi Inoue & Hiroshi Saito\0"
433            VALUE "ProductName", "PostgreSQL\0"
434            VALUE "ProductVersion", POSTGRES_RESOURCE_VERSION
435            VALUE "SpecialBuild", "\0"
436        END
437    END
438    BLOCK "VarFileInfo"
439    BEGIN
440        VALUE "Translation", 0x411, 1252
441    END
442END
443
444#endif    // !_MAC
445
446
447/////////////////////////////////////////////////////////////////////////////
448//
449// String Table
450//
451
452STRINGTABLE DISCARDABLE
453BEGIN
454    IDS_BADDSN              "DSN�G���g���|���s���ł��B�ēx�`�F�b�N�ݒ肵�Ă��������B."
455    IDS_MSGTITLE            "DSN�s��"
456    IDS_ADVANCE_OPTION_DEF  "���x�Ȑݒ� (�f�t�H���g)"
457    IDS_ADVANCE_SAVE        "�ۑ�"
458    IDS_ADVANCE_OPTION_DSN1 "���x�Ȑݒ� (%s �ݒ�1)"
459    IDS_ADVANCE_OPTION_CON1 "���x�Ȑݒ�i�R�l�N�V�����ݒ�P�j"
460    IDS_ADVANCE_OPTION_DSN2 "���x�Ȑݒ� (%s �ݒ�2)"
461    IDS_ADVANCE_OPTION_CON2 "���x�Ȑݒ� (�R�l�N�V�����ݒ�2)"
462    IDS_ADVANCE_OPTION_DSN3 "���x�Ȑݒ� (%s �ݒ�3)"
463    IDS_ADVANCE_OPTION_CON3 "���x�Ȑݒ� (�R�l�N�V�����ݒ�3)"
464    IDS_ADVANCE_CONNECTION  "�R�l�N�V����"
465END
466
467STRINGTABLE DISCARDABLE
468BEGIN
469    IDS_SSLREQUEST_PREFER   "�D��"
470    IDS_SSLREQUEST_ALLOW    "�l��"
471    IDS_SSLREQUEST_REQUIRE  "�K�{"
472    IDS_SSLREQUEST_DISABLE  "����"
473    IDS_SSLREQUEST_VERIFY_CA	"�K�{:�ؖ����F��"
474    IDS_SSLREQUEST_VERIFY_FULL	"�K�{:�ؖ������S�F��"
475END
476
477#endif    // Japanese resources
478/////////////////////////////////////////////////////////////////////////////
479
480
481/////////////////////////////////////////////////////////////////////////////
482// English (U.S.) resources
483
484#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
485#ifdef _WIN32
486LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
487#pragma code_page(1252)
488#endif //_WIN32
489
490/////////////////////////////////////////////////////////////////////////////
491//
492// Dialog
493//
494
495DLG_CONFIG DIALOG DISCARDABLE  65, 43, 305, 142
496STYLE DS_MODALFRAME | DS_3DLOOK | DS_CENTER | WS_POPUP | WS_VISIBLE |
497    WS_CAPTION | WS_SYSMENU
498#ifdef UNICODE_SUPPORT
499CAPTION "PostgreSQL Unicode ODBC Driver (psqlODBC) Setup"
500#else
501CAPTION "PostgreSQL ANSI ODBC Driver (psqlODBC) Setup"
502#endif
503FONT 8, "MS Sans Serif"
504BEGIN
505    RTEXT           "&Data Source",IDC_DSNAMETEXT,3,25,50,12,NOT WS_GROUP
506    EDITTEXT        IDC_DSNAME,57,24,72,12,ES_AUTOHSCROLL | WS_GROUP
507    RTEXT           "Des&cription",IDC_DESCTEXT,143,24,45,12,NOT WS_GROUP
508    EDITTEXT        IDC_DESC,192,22,104,12,ES_AUTOHSCROLL
509    RTEXT           "Data&base",IDC_STATIC,15,40,38,12,NOT WS_GROUP
510    EDITTEXT        IDC_DATABASE,57,39,72,12,ES_AUTOHSCROLL
511    RTEXT           "SS&L Mode",IDC_STATIC,143,40,45,12,NOT WS_GROUP
512    COMBOBOX        IDC_SSLMODE,192,36,104,50,CBS_DROPDOWNLIST | WS_VSCROLL |
513                    WS_TABSTOP
514    CTEXT           "Couldn't load libpq - SSL mode is unavailable",
515                    IDC_NOTICE_USER,53,87,200,11,SS_NOTIFY | SS_CENTERIMAGE |
516                    WS_BORDER
517    RTEXT           "&Server",IDC_STATIC,24,55,29,12,NOT WS_GROUP
518    EDITTEXT        IDC_SERVER,57,54,72,12,ES_AUTOHSCROLL
519    RTEXT           "&Port",IDC_STATIC,166,56,22,12
520    EDITTEXT        IDC_PORT,192,54,37,12,ES_AUTOHSCROLL
521    RTEXT           "&User Name",IDC_STATIC,14,70,39,12
522    EDITTEXT        IDC_USER,57,69,72,12,ES_AUTOHSCROLL
523    RTEXT           "Pass&word",IDC_STATIC,154,72,34,9
524    EDITTEXT        IDC_PASSWORD,192,70,72,12,ES_PASSWORD | ES_AUTOHSCROLL
525//    DEFPUSHBUTTON   "OK",IDOK,12,114,44,15,WS_GROUP
526//    PUSHBUTTON      "Cancel",IDCANCEL,66,114,44,15
527//    GROUPBOX        "Options",IDC_OPTIONS,121,101,177,35,BS_LEFT
528//    PUSHBUTTON      "Datasource",IDC_DATASOURCE,128,115,50,14
529//    PUSHBUTTON      "Global",IDC_DRIVER,184,115,50,14
530    LTEXT           "Please supply any missing information required to connect.",
531                    DRV_MSG_LABEL,12,5,249,10
532//    PUSHBUTTON      "Manage DSN",IDC_MANAGEDSN,240,115,52,14
533
534     GROUPBOX        "Options",IDC_OPTIONS,5,100,177,35,BS_LEFT
535     PUSHBUTTON      "Datasource",IDC_DATASOURCE,12,114,50,14
536     PUSHBUTTON      "Global",IDC_DRIVER,67,114,50,14
537     PUSHBUTTON      "Manage DSN",IDC_MANAGEDSN,122,114,52,14
538
539     PUSHBUTTON      "Test",IDC_TEST,254,103,44,15
540     DEFPUSHBUTTON   "OK",IDOK,203,121,44,15,WS_GROUP
541     PUSHBUTTON      "Cancel",IDCANCEL,254,121,44,15
542END
543
544#undef	MISC_Y
545#undef	MISC_Y1
546#undef	MISC_Y2
547#undef	MISC_Y3
548#define	MISC_Y	145
549#define	MISC_Y1	(MISC_Y+15)
550#define	MISC_Y2	(MISC_Y+32)
551#define	MISC_Y3	(MISC_Y+49)
552
553DLG_OPTIONS_DRV DIALOG DISCARDABLE  0, 0, 287, 231
554STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
555CAPTION "Advanced Options (DataSource)"
556FONT 8, "MS Sans Serif"
557BEGIN
558    PUSHBUTTON      "Page 2",ID2NDPAGE,5,5,40,15
559    PUSHBUTTON      "Page 3",ID3RDPAGE,49,5,40,15
560    CONTROL         "Comm&Log (C:\\psqlodbc_xxxx.log)",DRV_COMMLOG,"Button",
561                    BS_AUTOCHECKBOX | WS_TABSTOP,149,26,121,10
562    EDITTEXT        DS_COMMLOG,275,26,100,13,ES_AUTOHSCROLL | WS_GROUP,
563                    WS_EX_TRANSPARENT
564    CONTROL         "Recognize Unique &Indexes",DRV_UNIQUEINDEX,"Button",
565                    BS_AUTOCHECKBOX | WS_TABSTOP,15,56,110,10
566    CONTROL         "Ignore Timeout",DS_IGNORETIMEOUT,"Button",
567                    BS_AUTOCHECKBOX | WS_TABSTOP,149,56,110,10
568    CONTROL         "P&arse Statements",DRV_PARSE,"Button",BS_AUTOCHECKBOX |
569                    WS_TABSTOP,149,41,80,10
570    CONTROL         "&Use Declare/Fetch",DRV_USEDECLAREFETCH,"Button",
571                    BS_AUTOCHECKBOX | WS_TABSTOP,15,71,83,10
572    CONTROL         "MyLog (C:\\mylog_xxxx.log)",DRV_DEBUG,"Button",
573                    BS_AUTOCHECKBOX | WS_TABSTOP,149,71,112,10
574    EDITTEXT        DS_DEBUG,275,71,15,12,ES_AUTOHSCROLL | WS_GROUP,
575                    WS_EX_TRANSPARENT
576    GROUPBOX        "Unknown Sizes",IDC_STATIC,5,85,277,25
577    CONTROL         "Maximum",DRV_UNKNOWN_MAX,"Button",BS_AUTORADIOBUTTON |
578                    WS_GROUP | WS_TABSTOP,15,96,45,10
579    CONTROL         "Don't Know",DRV_UNKNOWN_DONTKNOW,"Button",
580                    BS_AUTORADIOBUTTON | WS_TABSTOP,105,96,53,10
581    CONTROL         "Longest",DRV_UNKNOWN_LONGEST,"Button",
582                    BS_AUTORADIOBUTTON | WS_TABSTOP,215,95,50,10
583    GROUPBOX        "Data Type Options",IDC_STATIC,5,115,277,25
584    CONTROL         "Text as LongVarChar",DRV_TEXT_LONGVARCHAR,"Button",
585                    BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,15,125,90,10
586    CONTROL         "Unknowns as LongVarChar",DRV_UNKNOWNS_LONGVARCHAR,
587                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,105,125,105,10
588    CONTROL         "Bools as Char",DRV_BOOLS_CHAR,"Button",BS_AUTOCHECKBOX |
589                    WS_TABSTOP,215,125,67,10
590    GROUPBOX        "Miscellaneous",IDC_STATIC,5,MISC_Y,277,62
591    LTEXT           "Max &Varchar:",IDC_STATIC,13,MISC_Y1+1,54,8
592    EDITTEXT        DRV_VARCHAR_SIZE,70,MISC_Y1,35,12,ES_AUTOHSCROLL
593    LTEXT           "Max Lon&gVarChar:",IDC_STATIC,125,MISC_Y1+1,67,8
594    EDITTEXT        DRV_LONGVARCHAR_SIZE,199,MISC_Y1,35,12,ES_AUTOHSCROLL
595    LTEXT           "&Cache Size:",IDC_STATIC,14,MISC_Y2+1,52,8
596    EDITTEXT        DRV_CACHE_SIZE,69,MISC_Y2-1,35,12,ES_AUTOHSCROLL
597    LTEXT           "SysTable &Prefixes:",IDC_STATIC,126,MISC_Y2+1,61,18
598    EDITTEXT        DRV_EXTRASYSTABLEPREFIXES,199,MISC_Y2-1,71,12,ES_AUTOHSCROLL
599    LTEXT           "&Batch &Size:",IDC_STATIC,14,MISC_Y3+1,61,18
600    EDITTEXT        DS_BATCH_SIZE,69,MISC_Y3-1,35,12,ES_AUTOHSCROLL
601    DEFPUSHBUTTON   "OK",IDOK,5,212,50,14,WS_GROUP
602    PUSHBUTTON      "Cancel",IDCANCEL,81,211,50,15
603    PUSHBUTTON      "Apply",IDAPPLY,156,212,50,14
604    PUSHBUTTON      "Defaults",IDDEFAULTS,232,211,50,15
605END
606
607#undef	CONNSETTINGS_Y
608#undef	KEEPALIVE_X
609#undef	KEEPALIVE_Y
610#undef	ENDLINE_Y
611#define	CONNSETTINGS_Y	185	// 189
612#define	KEEPALIVE_X	10
613#define	KEEPALIVE_Y	225
614#define	ENDLINE_Y	245	// 222
615
616DLG_OPTIONS_DS DIALOG DISCARDABLE  0, 0, 306, 260
617STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
618CAPTION "Advanced Options (DataSource)"
619FONT 8, "MS Sans Serif"
620BEGIN
621    PUSHBUTTON      "Page 3",ID3RDPAGE,49,5,40,15
622    PUSHBUTTON      "Page 1",ID1STPAGE,5,5,40,15
623    CONTROL         "&Read Only",DS_READONLY,"Button",BS_AUTOCHECKBOX |
624                    WS_GROUP | WS_TABSTOP,15,26,102,10
625    CONTROL         "Row &Versioning",DS_ROWVERSIONING,"Button",
626                    BS_AUTOCHECKBOX | WS_TABSTOP,163,26,85,10
627    CONTROL         "Show System &Tables",DS_SHOWSYSTEMTABLES,"Button",
628                    BS_AUTOCHECKBOX | WS_TABSTOP,15,41,100,10
629    CONTROL         "Display Optional Error Message",DS_OPTIONALERRORS,"Button",                    BS_AUTOCHECKBOX | WS_TABSTOP,163,41,85,10
630    CONTROL         "LF <-> CR/LF conversion",DS_LFCONVERSION,"Button",
631                    BS_AUTOCHECKBOX | WS_TABSTOP,15,56,106,10
632    CONTROL         "True is -1",DS_TRUEISMINUS1,"Button",BS_AUTOCHECKBOX |
633                    WS_TABSTOP,163,56,86,10
634    CONTROL         "Updatable Cursors",DS_UPDATABLECURSORS,"Button",
635                    BS_AUTOCHECKBOX | WS_TABSTOP,15,71,87,10
636    CONTROL         "Server side prepare",DS_SERVERSIDEPREPARE,"Button",
637                    BS_AUTOCHECKBOX | WS_TABSTOP,163,71,90,10
638    CONTROL         "bytea as LO",DS_BYTEAASLONGVARBINARY,"Button",
639                    BS_AUTOCHECKBOX | WS_TABSTOP,16,84,87,10
640    GROUPBOX        "Int8 As",IDC_STATIC,5,97,256,25
641    CONTROL         "default",DS_INT8_AS_DEFAULT,"Button",BS_AUTORADIOBUTTON |
642                    WS_GROUP,12,107,40,10
643    CONTROL         "Fetch result from each refcursor",DS_FETCH_REFCURSORS,
644                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,163,84,122,10
645    CONTROL         "bigint",DS_INT8_AS_BIGINT,"Button",BS_AUTORADIOBUTTON |
646                    WS_TABSTOP,55,107,35,10
647    CONTROL         "numeric",DS_INT8_AS_NUMERIC,"Button",BS_AUTORADIOBUTTON |
648                    WS_TABSTOP,98,107,40,10
649    CONTROL         "varchar",DS_INT8_AS_VARCHAR,"Button",BS_AUTORADIOBUTTON |
650                    WS_TABSTOP,141,107,40,10
651    CONTROL         "double",DS_INT8_AS_DOUBLE,"Button",BS_AUTORADIOBUTTON |
652                    WS_TABSTOP,184,107,40,10
653    CONTROL         "int4",DS_INT8_AS_INT4,"Button",BS_AUTORADIOBUTTON |
654                    WS_TABSTOP,227,107,29,10
655    LTEXT	   "Extra Opts",IDC_STATIC,264,98,40,17
656    EDITTEXT	    DS_EXTRA_OPTIONS,264,105,40,12,ES_AUTOHSCROLL
657    GROUPBOX        "Numeric(without precision) As",IDC_STATIC,5,126,160,25
658    CONTROL         "default",DS_NUMERIC_AS_DEFAULT,"Button",BS_AUTORADIOBUTTON |
659                    WS_GROUP,12,138,40,10
660//    CONTROL         "numeric",DS_NUMERIC_AS_NUMERIC,"Button",BS_AUTORADIOBUTTON |
661//                    WS_TABSTOP,50,138,40,10
662    CONTROL         "memo",DS_NUMERIC_AS_LONGVARCHAR,"Button",BS_AUTORADIOBUTTON |
663                    WS_TABSTOP,126,138,40,10
664    CONTROL         "varchar",DS_NUMERIC_AS_VARCHAR,"Button",BS_AUTORADIOBUTTON |
665                    WS_TABSTOP,50,138,40,10
666    CONTROL         "double",DS_NUMERIC_AS_DOUBLE,"Button",BS_AUTORADIOBUTTON |
667                    WS_TABSTOP,90,138,36,10
668    GROUPBOX        "OID Options",IDC_STATIC,5,157,296,25
669    CONTROL         "Show &Column",DS_SHOWOIDCOLUMN,"Button",BS_AUTOCHECKBOX |
670                    WS_GROUP | WS_TABSTOP,13,168,67,10
671    CONTROL         "Fake &Index",DS_FAKEOIDINDEX,"Button",BS_AUTOCHECKBOX |
672                    WS_GROUP | WS_TABSTOP,80,168,59,10
673    LTEXT           "Connect &Settings:",IDC_STATIC,5,CONNSETTINGS_Y,57,11
674    EDITTEXT        DS_CONNSETTINGS,90,CONNSETTINGS_Y,211,27,ES_MULTILINE |
675                    ES_AUTOVSCROLL | ES_AUTOHSCROLL | ES_WANTRETURN
676    GROUPBOX        "TCP KEEPALIVE setting (by sec)",IDC_STATIC,KEEPALIVE_X,KEEPALIVE_Y-10,210,25
677    CONTROL         "disable",DS_DISABLE_KEEPALIVE,"Button",BS_AUTOCHECKBOX | WS_GROUP, KEEPALIVE_X+5,KEEPALIVE_Y,50,10
678    LTEXT           "idle time",IDC_STATIC,KEEPALIVE_X+62,KEEPALIVE_Y,25,10,NOT WS_GROUP
679    EDITTEXT        DS_KEEPALIVETIME,KEEPALIVE_X+90,KEEPALIVE_Y,20,10, ES_AUTOHSCROLL | WS_TABSTOP
680    LTEXT           "interval",IDC_STATIC,KEEPALIVE_X+117,KEEPALIVE_Y,25,10,NOT WS_GROUP
681    EDITTEXT        DS_KEEPALIVEINTERVAL,KEEPALIVE_X+145,KEEPALIVE_Y,30,10, ES_AUTOHSCROLL | WS_TABSTOP
682    DEFPUSHBUTTON   "OK",IDOK,5,ENDLINE_Y,50,14,WS_GROUP
683    PUSHBUTTON      "Cancel",IDCANCEL,81,ENDLINE_Y,50,14
684    PUSHBUTTON      "Apply",IDAPPLY,156,ENDLINE_Y,50,14
685    GROUPBOX        "Level of rollback on errors",IDC_STATIC,172,126,134,25
686    CONTROL         "Nop",DS_NO_ROLLBACK,"Button",BS_AUTORADIOBUTTON |
687                    WS_GROUP,176,138,36,9
688    CONTROL         "Transaction",DS_TRANSACTION_ROLLBACK,"Button",
689                    BS_AUTORADIOBUTTON | WS_TABSTOP,206,138,57,9
690    CONTROL         "Statement",DS_STATEMENT_ROLLBACK,"Button",
691                    BS_AUTORADIOBUTTON | WS_TABSTOP,257,138,47,9
692END
693
694#undef	DTC_GRP_X
695#undef	DTC_GRP_Y
696#undef	DTC_GRP_WIDTH
697#undef	DTC_GRP_HEIGHT
698#undef	DTC_OPT_X
699#undef	DTC_OPT_Y
700#undef	DTC_OPT_WIDTH
701#undef	DTC_OPT_HEIGHT
702#undef	DTC_LOG_X
703#undef	DTC_LOG_Y
704#undef	LIBPQOPT_Y
705#define	DTC_GRP_X	10
706#define	DTC_GRP_Y	60
707#define	DTC_GRP_WIDTH	200
708#define	DTC_GRP_HEIGHT	100
709#define	DTC_OPT_X	(DTC_GRP_X)
710#define	DTC_OPT_Y	(DTC_GRP_Y+10)
711#define	DTC_OPT_WIDTH	180
712#define	DTC_OPT_HEIGHT	45
713#define	DTC_LOG_X	(DTC_GRP_X)
714#define	DTC_LOG_Y	(DTC_OPT_Y+60)
715#define	LIBPQOPT_Y	185
716
717DLG_OPTIONS_DS3 DIALOG DISCARDABLE  0, 0, 306, 243
718STYLE DS_MODALFRAME | DS_3DLOOK | DS_CENTER | WS_POPUP | WS_CAPTION |
719    WS_SYSMENU
720CAPTION "Adavanced Options(Datasource 3)"
721FONT 8, "MS Sans Serif"
722BEGIN
723    PUSHBUTTON      "Page 2",ID2NDPAGE,49,5,40,15
724    PUSHBUTTON      "Page 1",ID1STPAGE,5,5,40,15
725
726    GROUPBOX        "Distributed Transaction related settings",IDC_STATIC,DTC_GRP_X,DTC_GRP_Y,DTC_GRP_WIDTH,DTC_GRP_HEIGHT
727    GROUPBOX        "Allow connections unrecoverable by MSDTC?",IDC_STATIC,DTC_OPT_X,DTC_OPT_Y,DTC_OPT_WIDTH,DTC_OPT_HEIGHT
728    CONTROL         "yes",DS_DTC_LINK_ONLY,"Button",BS_AUTORADIOBUTTON |
729                    WS_GROUP,DTC_OPT_X+5,DTC_OPT_Y+10,40,10
730    CONTROL         "rejects sslmode verify-[ca|full]",DS_DTC_SIMPLE_PRECHECK,"Button",
731                    BS_AUTORADIOBUTTON | WS_TABSTOP,DTC_OPT_X+5,DTC_OPT_Y+20,120,10
732    CONTROL         "no (confirm the connectivity from MSDTC first)",DS_DTC_CONFIRM_RM_CONNECTION,"Button",
733                    BS_AUTORADIOBUTTON | WS_TABSTOP,DTC_OPT_X+5,DTC_OPT_Y+30,170,10
734    PUSHBUTTON      "connection test",IDC_TEST,DTC_OPT_X+60,DTC_OPT_Y+75,55,14
735
736    LTEXT           "libpq parameters:(&l)",IDC_STATIC,13,LIBPQOPT_Y+3,69,10,NOT
737                    WS_GROUP
738    EDITTEXT        DS_LIBPQOPT,85,LIBPQOPT_Y,215,27,ES_MULTILINE |
739                    ES_AUTOVSCROLL | ES_AUTOHSCROLL | ES_WANTRETURN | NOT
740                    WS_TABSTOP
741
742    DEFPUSHBUTTON   "OK",IDOK,5,224,50,14,WS_GROUP
743    PUSHBUTTON      "Cancel",IDCANCEL,66,224,50,14
744    PUSHBUTTON      "Apply",IDAPPLY,128,224,50,14
745END
746
747
748DLG_OPTIONS_GLOBAL DIALOG DISCARDABLE  0, 0, 306, 110
749STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
750CAPTION "Global settings"
751FONT 8, "MS Sans Serif"
752BEGIN
753    CONTROL         "Comm&Log (C:\\psqlodbc_xxxx.log - Communications log)",
754                    DRV_COMMLOG,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,22,24,
755                    263,10
756    CONTROL         "Mylog (C:\\mylog_xxxx.log - Detailed debug output)",
757                    DRV_DEBUG,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,22,42,
758                    264,10
759    CONTROL         "MSDTC log (C:\\pgdtclog\\mylog_xxxx.log - MSDTC debug output)",
760                    DRV_DTCLOG,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,22,60,
761                    264,10
762    RTEXT           "Folder for logging",IDC_STATIC,17,77,69,12
763    EDITTEXT        DS_LOGDIR,98,75,188,13,ES_AUTOHSCROLL | WS_GROUP,
764                    WS_EX_TRANSPARENT
765    DEFPUSHBUTTON   "Save",IDOK,82,92,50,14,WS_GROUP
766    PUSHBUTTON      "Cancel",IDCANCEL,172,91,50,15
767    GROUPBOX        "Pre-connection/default logging options",IDC_STATIC,5,5,
768                    296,85
769END
770
771DLG_DRIVER_CHANGE DIALOG DISCARDABLE  0, 0, 306, 87
772STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
773CAPTION "Driver up/downgrade"
774FONT 8, "MS Sans Serif"
775BEGIN
776    DEFPUSHBUTTON   "OK",IDOK,82,68,50,14,WS_GROUP
777    PUSHBUTTON      "Cancel",IDCANCEL,172,67,50,15
778    GROUPBOX        "Drivers List",IDC_STATIC,5,5,296,58
779    LTEXT           "Select the driver",IDC_STATIC,31,30,73,8
780    LISTBOX         IDC_DRIVER_LIST,117,18,151,32,LBS_SORT |
781                    LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
782END
783
784
785/////////////////////////////////////////////////////////////////////////////
786//
787// DESIGNINFO
788//
789
790#ifdef APSTUDIO_INVOKED
791GUIDELINES DESIGNINFO DISCARDABLE
792BEGIN
793    DLG_CONFIG, DIALOG
794    BEGIN
795        BOTTOMMARGIN, 141
796    END
797
798    DLG_OPTIONS_DRV, DIALOG
799    BEGIN
800        LEFTMARGIN, 5
801        RIGHTMARGIN, 282
802        TOPMARGIN, 5
803        BOTTOMMARGIN, 226
804    END
805
806    DLG_OPTIONS_DS, DIALOG
807    BEGIN
808        LEFTMARGIN, 5
809        RIGHTMARGIN, 301
810        TOPMARGIN, 5
811        BOTTOMMARGIN, 238
812        HORZGUIDE, 136
813    END
814
815    DLG_OPTIONS_GLOBAL, DIALOG
816    BEGIN
817        LEFTMARGIN, 5
818        RIGHTMARGIN, 301
819        TOPMARGIN, 5
820        BOTTOMMARGIN, 82
821    END
822
823    DLG_DRIVER_CHANGE, DIALOG
824    BEGIN
825        LEFTMARGIN, 5
826        RIGHTMARGIN, 301
827        TOPMARGIN, 5
828        BOTTOMMARGIN, 82
829    END
830END
831#endif    // APSTUDIO_INVOKED
832
833
834#ifndef _MAC
835/////////////////////////////////////////////////////////////////////////////
836//
837// Version
838//
839
840VS_VERSION_INFO VERSIONINFO
841 FILEVERSION PG_DRVFILE_VERSION
842 PRODUCTVERSION PG_DRVFILE_VERSION
843 FILEFLAGSMASK 0x3L
844#ifdef _DEBUG
845 FILEFLAGS 0x9L
846#else
847 FILEFLAGS 0x8L
848#endif
849 FILEOS 0x4L
850 FILETYPE 0x2L
851 FILESUBTYPE 0x0L
852BEGIN
853    BLOCK "StringFileInfo"
854    BEGIN
855        BLOCK "040904e4"
856        BEGIN
857#ifdef UNICODE_SUPPORT
858            VALUE "Comments", "PostgreSQL Unicode ODBC driver\0"
859#else
860            VALUE "Comments", "PostgreSQL ANSI ODBC driver\0"
861#endif
862            VALUE "CompanyName", "PostgreSQL Global Development Group\0"
863            VALUE "FileDescription", "PostgreSQL ODBC Driver (English)\0"
864            VALUE "FileVersion", POSTGRES_RESOURCE_VERSION
865#ifdef UNICODE_SUPPORT
866            VALUE "InternalName", "psqlodbc35w\0"
867#else
868            VALUE "InternalName", "psqlodbc30a\0"
869#endif
870            VALUE "LegalCopyright", "Copyright \0"
871            VALUE "LegalTrademarks", "ODBC(TM) is a trademark of Microsoft Corporation.  Microsoft? is a registered trademark of Microsoft Corporation. Windows(TM) is a trademark of Microsoft Corporation.\0"
872#ifdef UNICODE_SUPPORT
873            VALUE "OriginalFilename", "psqlodbc35w.dll\0"
874#else
875            VALUE "OriginalFilename", "psqlodbc30a.dll\0"
876#endif
877            VALUE "PrivateBuild", "\0"
878            VALUE "ProductName", "PostgreSQL\0"
879            VALUE "ProductVersion", POSTGRES_RESOURCE_VERSION
880            VALUE "SpecialBuild", "\0"
881        END
882    END
883    BLOCK "VarFileInfo"
884    BEGIN
885        VALUE "Translation", 0x409, 1252
886    END
887END
888
889#endif    // !_MAC
890
891
892/////////////////////////////////////////////////////////////////////////////
893//
894// String Table
895//
896
897STRINGTABLE DISCARDABLE
898BEGIN
899    IDS_BADDSN              "Invalid DSN entry, please recheck."
900    IDS_MSGTITLE            "Invalid DSN"
901    IDS_ADVANCE_OPTION_DEF  "Advanced Options (Default)"
902    IDS_ADVANCE_SAVE        "Save"
903    IDS_ADVANCE_OPTION_DSN1 "Advanced Options (%s) 1/3"
904    IDS_ADVANCE_OPTION_CON1 "Advanced Options (Connection 1/3)"
905    IDS_ADVANCE_OPTION_DSN2 "Advanced Options (%s) 2/3"
906    IDS_ADVANCE_OPTION_DSN3 "Advanced Options (%s) 3/3"
907    IDS_ADVANCE_OPTION_CON2 "Advanced Options (Connection 2/3)"
908    IDS_ADVANCE_OPTION_CON3 "Advanced Options (Connection 3/3)"
909    IDS_ADVANCE_CONNECTION  "Connection"
910END
911
912STRINGTABLE DISCARDABLE
913BEGIN
914    IDS_SSLREQUEST_PREFER   "prefer"
915    IDS_SSLREQUEST_ALLOW    "allow"
916    IDS_SSLREQUEST_REQUIRE  "require"
917    IDS_SSLREQUEST_DISABLE  "disable"
918    IDS_SSLREQUEST_VERIFY_CA	    "verify-ca"
919    IDS_SSLREQUEST_VERIFY_FULL	    "verify-full"
920END
921
922#endif    // English (U.S.) resources
923/////////////////////////////////////////////////////////////////////////////
924
925
926
927#ifndef APSTUDIO_INVOKED
928/////////////////////////////////////////////////////////////////////////////
929//
930// Generated from the TEXTINCLUDE 3 resource.
931//
932
933
934/////////////////////////////////////////////////////////////////////////////
935#endif    // not APSTUDIO_INVOKED
936P
937