| 1 |
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ |
| 2 |
/* |
| 3 |
* This file is part of the LibreOffice project. |
| 4 |
* |
| 5 |
* This Source Code Form is subject to the terms of the Mozilla Public |
| 6 |
* License, v. 2.0. If a copy of the MPL was not distributed with this |
| 7 |
* file, You can obtain one at http://mozilla.org/MPL/2.0/. |
| 8 |
*/ |
| 9 |
|
| 10 |
#include "spsuppDlg.h" |
| 11 |
// We need to include windows.h to use IDI_QUESTION |
| 12 |
#define WIN32_LEAN_AND_MEAN |
| 13 |
#include <windows.h> |
| 14 |
|
| 15 |
LANGUAGE LANG_NEUTRAL, SUBLANG_DEFAULT |
| 16 |
|
| 17 |
// Dialog |
| 18 |
|
| 19 |
IDD_EDIT_OR_RO DIALOGEX 0, 0, 309, 87 |
| 20 |
STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU |
| 21 |
EXSTYLE WS_EX_TOPMOST |
| 22 |
CAPTION "Open Document" |
| 23 |
BEGIN |
| 24 |
ICON IDI_QUESTION,IDC_STATIC,7,7,21,20 |
| 25 |
LTEXT "Do you want to open the document to view or to edit?",IDC_EDIT_OR_RO,36,7,266,44 |
| 26 |
DEFPUSHBUTTON "View",ID_RO,91,66,77,14 |
| 27 |
PUSHBUTTON "Edit",ID_EDIT,171,66,77,14 |
| 28 |
PUSHBUTTON "Cancel",IDCANCEL,252,66,50,14 |
| 29 |
END |