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
a73175fd
Commit
a73175fd
authored
Jul 09, 2009
by
Rein Klazes
Committed by
Alexandre Julliard
Jul 09, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comdlg32: Fix a problem with resizing a customized file dialog.
parent
6c0c08af
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
filedlg.c
dlls/comdlg32/filedlg.c
+5
-3
No files found.
dlls/comdlg32/filedlg.c
View file @
a73175fd
...
...
@@ -1117,9 +1117,6 @@ static LRESULT FILEDLG95_OnWMSize(HWND hwnd, WPARAM wParam, LPARAM lParam)
if
(
fodInfos
->
DlgInfos
.
hwndCustomDlg
&&
(
fodInfos
->
ofnInfos
->
Flags
&
(
OFN_ENABLETEMPLATE
|
OFN_ENABLETEMPLATEHANDLE
)))
{
GetClientRect
(
hwnd
,
&
rc
);
DeferWindowPos
(
hdwp
,
fodInfos
->
DlgInfos
.
hwndCustomDlg
,
NULL
,
0
,
0
,
rc
.
right
,
rc
.
bottom
,
SWP_NOMOVE
|
SWP_NOACTIVATE
|
SWP_NOZORDER
);
for
(
ctrl
=
GetWindow
(
fodInfos
->
DlgInfos
.
hwndCustomDlg
,
GW_CHILD
);
ctrl
;
ctrl
=
GetWindow
(
ctrl
,
GW_HWNDNEXT
))
{
...
...
@@ -1142,6 +1139,11 @@ static LRESULT FILEDLG95_OnWMSize(HWND hwnd, WPARAM wParam, LPARAM lParam)
SWP_NOSIZE
|
SWP_NOACTIVATE
|
SWP_NOZORDER
);
}
}
/* size the custom dialog at the end: some applications do some
* control re-arranging at this point */
GetClientRect
(
hwnd
,
&
rc
);
DeferWindowPos
(
hdwp
,
fodInfos
->
DlgInfos
.
hwndCustomDlg
,
NULL
,
0
,
0
,
rc
.
right
,
rc
.
bottom
,
SWP_NOMOVE
|
SWP_NOACTIVATE
|
SWP_NOZORDER
);
}
EndDeferWindowPos
(
hdwp
);
/* should not be needed */
...
...
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