| 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_PASSWORD_BTN_OK IDOK |
| 31 |
#define XAP_RID_DIALOG_PASSWORD_BTN_CANCEL IDCANCEL |
| 32 |
#define XAP_RID_DIALOG_PASSWORD_STATIC -1 |
| 33 |
#define XAP_RID_DIALOG_PASSWORD_EBX_PASSWORD 1001 |
| 34 |
#define XAP_RID_DIALOG_PASSWORD_LBL_PASSWORD 1002 |
| 35 |
|
| 36 |
#ifdef RC_INVOKED |
| 37 |
// NOTE -- these placeholder strings get overridden at runtime |
| 38 |
// NOTE -- they're just here to make sizing easier |
| 39 |
|
| 40 |
XAP_RID_DIALOG_PASSWORD DIALOG DISCARDABLE 0, 0, 150, 60 |
| 41 |
STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU |
| 42 |
CAPTION "Activate Window" |
| 43 |
FONT 8, "MS Shell Dlg 2" |
| 44 |
BEGIN |
| 45 |
|
| 46 |
RTEXT "Password:", XAP_RID_DIALOG_PASSWORD_LBL_PASSWORD, |
| 47 |
7,7,45,14, SS_CENTERIMAGE |
| 48 |
EDITTEXT XAP_RID_DIALOG_PASSWORD_EBX_PASSWORD, |
| 49 |
55,7,90,14, ES_AUTOHSCROLL | ES_PASSWORD | WS_TABSTOP |
| 50 |
|
| 51 |
DEFPUSHBUTTON "OK", XAP_RID_DIALOG_PASSWORD_BTN_OK, |
| 52 |
40,40,50,14 |
| 53 |
PUSHBUTTON "Cancel", XAP_RID_DIALOG_PASSWORD_BTN_CANCEL, |
| 54 |
95,40,50,14 |
| 55 |
|
| 56 |
|
| 57 |
END |
| 58 |
|
| 59 |
#endif /* RC_INVOKED */ |