Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
9e8f2a70
Commit
9e8f2a70
authored
May 06, 2009
by
Rein Klazes
Committed by
Alexandre Julliard
May 06, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
programs: Make some of the open file dialogs of a few programs resizable.
parent
64dbec13
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
6 deletions
+7
-6
dialog.c
programs/notepad/dialog.c
+2
-2
oleview.c
programs/oleview/oleview.c
+1
-1
framewnd.c
programs/regedit/framewnd.c
+1
-0
winhelp.c
programs/winhlp32/winhelp.c
+1
-1
wordpad.c
programs/wordpad/wordpad.c
+2
-2
No files found.
programs/notepad/dialog.c
View file @
9e8f2a70
...
...
@@ -306,7 +306,7 @@ VOID DIALOG_FileOpen(VOID)
openfilename
.
nMaxFile
=
SIZEOF
(
szPath
);
openfilename
.
lpstrInitialDir
=
szDir
;
openfilename
.
Flags
=
OFN_FILEMUSTEXIST
|
OFN_PATHMUSTEXIST
|
OFN_HIDEREADONLY
;
OFN_HIDEREADONLY
|
OFN_ENABLESIZING
;
openfilename
.
lpstrDefExt
=
szDefaultExt
;
...
...
@@ -345,7 +345,7 @@ BOOL DIALOG_FileSaveAs(VOID)
saveas
.
nMaxFile
=
SIZEOF
(
szPath
);
saveas
.
lpstrInitialDir
=
szDir
;
saveas
.
Flags
=
OFN_PATHMUSTEXIST
|
OFN_OVERWRITEPROMPT
|
OFN_HIDEREADONLY
;
OFN_HIDEREADONLY
|
OFN_ENABLESIZING
;
saveas
.
lpstrDefExt
=
szDefaultExt
;
if
(
GetSaveFileName
(
&
saveas
))
{
...
...
programs/oleview/oleview.c
View file @
9e8f2a70
...
...
@@ -137,7 +137,7 @@ static void InitOpenFileName(HWND hWnd, OPENFILENAME *pofn, WCHAR *wszFilter,
pofn
->
nFilterIndex
=
0
;
pofn
->
lpstrFile
=
wszFileName
;
pofn
->
nMaxFile
=
MAX_LOAD_STRING
;
pofn
->
Flags
=
OFN_HIDEREADONLY
;
pofn
->
Flags
=
OFN_HIDEREADONLY
|
OFN_ENABLESIZING
;
}
static
void
CopyClsid
(
HTREEITEM
item
)
...
...
programs/regedit/framewnd.c
View file @
9e8f2a70
...
...
@@ -341,6 +341,7 @@ static BOOL ImportRegistryFile(HWND hWnd)
WCHAR
title
[
128
];
InitOpenFileName
(
hWnd
,
&
ofn
);
ofn
.
Flags
|=
OFN_ENABLESIZING
;
LoadStringW
(
hInst
,
IDS_FILEDIALOG_IMPORT_TITLE
,
title
,
COUNT_OF
(
title
));
ofn
.
lpstrTitle
=
title
;
if
(
GetOpenFileNameW
(
&
ofn
))
{
...
...
programs/winhlp32/winhelp.c
View file @
9e8f2a70
...
...
@@ -179,7 +179,7 @@ BOOL WINHELP_GetOpenFileName(LPSTR lpszFile, int len)
openfilename
.
nMaxFileTitle
=
0
;
openfilename
.
lpstrInitialDir
=
szDir
;
openfilename
.
lpstrTitle
=
0
;
openfilename
.
Flags
=
0
;
openfilename
.
Flags
=
OFN_ENABLESIZING
;
openfilename
.
nFileOffset
=
0
;
openfilename
.
nFileExtension
=
0
;
openfilename
.
lpstrDefExt
=
0
;
...
...
programs/wordpad/wordpad.c
View file @
9e8f2a70
...
...
@@ -870,7 +870,7 @@ static void DialogSaveFile(void)
ZeroMemory
(
&
sfn
,
sizeof
(
sfn
));
sfn
.
lStructSize
=
sizeof
(
sfn
);
sfn
.
Flags
=
OFN_HIDEREADONLY
|
OFN_PATHMUSTEXIST
|
OFN_OVERWRITEPROMPT
;
sfn
.
Flags
=
OFN_HIDEREADONLY
|
OFN_PATHMUSTEXIST
|
OFN_OVERWRITEPROMPT
|
OFN_ENABLESIZING
;
sfn
.
hwndOwner
=
hMainWnd
;
sfn
.
lpstrFilter
=
wszFilter
;
sfn
.
lpstrFile
=
wszFile
;
...
...
@@ -964,7 +964,7 @@ static void DialogOpenFile(void)
ZeroMemory
(
&
ofn
,
sizeof
(
ofn
));
ofn
.
lStructSize
=
sizeof
(
ofn
);
ofn
.
Flags
=
OFN_HIDEREADONLY
|
OFN_FILEMUSTEXIST
|
OFN_PATHMUSTEXIST
;
ofn
.
Flags
=
OFN_HIDEREADONLY
|
OFN_FILEMUSTEXIST
|
OFN_PATHMUSTEXIST
|
OFN_ENABLESIZING
;
ofn
.
hwndOwner
=
hMainWnd
;
ofn
.
lpstrFilter
=
wszFilter
;
ofn
.
lpstrFile
=
wszFile
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment