Debian Codegraph @

src/af/xap/win/xap_Win32Res_DlgLanguage.rc2

raw
1 // AbiWord
2 // Copyright (C) 1998 AbiSource, Inc.
3 //
4 // This program is free software; you can redistribute it and/or
5 // modify it under the terms of the GNU General Public License
6 // as published by the Free Software Foundation; either version 2
7 // of the License, or (at your option) any later version.
8 //
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU General Public License for more details.
13 //
14 // You should have received a copy of the GNU General Public License
15 // along with this program; if not, write to the Free Software
16 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
17 // 02110-1301 USA.
18 //////////////////////////////////////////////////////////////////
19
20 //////////////////////////////////////////////////////////////////
21 // THIS FILE IS INCLUDED BY .cpp AND .rc FILES.
22 //
23 // *** RC.exe IS BRAIN-DAMAGED. GIVING THIS FILE AN .rc2
24 // *** EXTENSION MAKES #INCLUDING THIS FILE FROM Win32Main.rc
25 // *** WORK -- IF THE SUFFIX IS .h ONLY THE #DEFINES WORK, THE
26 // *** DIALOGS DO NOT GET COMPILED.
27 //
28 //////////////////////////////////////////////////////////////////
29
30 #define XAP_RID_DIALOG_LANGUAGE_BTN_OK IDOK
31 #define XAP_RID_DIALOG_LANGUAGE_BTN_CANCEL IDCANCEL
32 #define XAP_RID_DIALOG_LANGUAGE_FRM_LANGUAGE 1001
33 #define XAP_RID_DIALOG_LANGUAGE_TREE_LANGUAGE 1002
34 #define XAP_RID_DIALOG_LANGUAGE_DOCLANG_STATIC 1003
35 #define XAP_RID_DIALOG_LANGUAGE_DOCLANG_CHKBOX 1004
36
37
38 #ifdef RC_INVOKED
39 // NOTE -- these placeholder strings get overridden at runtime
40 // NOTE -- they're just here to make sizing easier
41
42 XAP_RID_DIALOG_LANGUAGE DIALOG DISCARDABLE 50, 20, 170, 227
43 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
44 CAPTION "Activate Window"
45 FONT 8, "MS Shell Dlg 2"
46 BEGIN
47 LTEXT "Text: ", XAP_RID_DIALOG_LANGUAGE_FRM_LANGUAGE, 7,7,126,8
48
49 CONTROL "Tree1",XAP_RID_DIALOG_LANGUAGE_TREE_LANGUAGE,"SysTreeView32",WS_BORDER | WS_TABSTOP, 7,17,156,149
50
51 LTEXT "Default language for document", XAP_RID_DIALOG_LANGUAGE_DOCLANG_STATIC, 7,173,126,8
52
53 CONTROL "Default language for document", XAP_RID_DIALOG_LANGUAGE_DOCLANG_CHKBOX,
54 "Button", BS_AUTOCHECKBOX | WS_TABSTOP,
55 7,187,126,10
56
57 DEFPUSHBUTTON "OK", XAP_RID_DIALOG_LANGUAGE_BTN_OK, 33,205,50,14
58 PUSHBUTTON "Cancel", XAP_RID_DIALOG_LANGUAGE_BTN_CANCEL, 87,205,50,14
59 END
60
61 #endif /* RC_INVOKED */