diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2019-07-04 19:46:35 +1000 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2019-07-04 15:34:58 +0200 |
commit | 2edb7b1ddaa77229ce3655b91929eba3d95f90a7 (patch) | |
tree | 72bb0051d996de80c3d4d343ab193ff30bada57d /shell | |
parent | 01a181057484144f954c0e3a5e53ada72aeb675c (diff) |
Center spsupp_helper dialog on screen; make it topmost
Change-Id: I99cf333a24ddf99407b406e42930d58dc7b5fb96
Reviewed-on: https://gerrit.libreoffice.org/75076
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
(cherry picked from commit 64376d29b4f02440544a1dc71118c2cf19b8df94)
Reviewed-on: https://gerrit.libreoffice.org/75088
Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'shell')
-rw-r--r-- | shell/source/win32/spsupp/res/spsuppDlg.rc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/source/win32/spsupp/res/spsuppDlg.rc b/shell/source/win32/spsupp/res/spsuppDlg.rc index a27974661f30..f4ce83a157fc 100644 --- a/shell/source/win32/spsupp/res/spsuppDlg.rc +++ b/shell/source/win32/spsupp/res/spsuppDlg.rc @@ -17,9 +17,9 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_DEFAULT // Dialog
IDD_EDIT_OR_RO DIALOGEX 0, 0, 309, 87
-STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
+STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU +EXSTYLE WS_EX_TOPMOST
CAPTION "Open Document"
-FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
ICON IDI_QUESTION,IDC_STATIC,7,7,21,20
LTEXT "Do you want to open the document to view or to edit?",IDC_EDIT_OR_RO,36,7,266,44
|