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
cc3e0c5d
Commit
cc3e0c5d
authored
Dec 18, 2000
by
Gerard Patel
Committed by
Alexandre Julliard
Dec 18, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WM_GETMINMAXINFO track min size should be used in SetWindowPos also
for 32 bits apps.
parent
ab7fc4a0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
winpos.c
windows/winpos.c
+7
-2
No files found.
windows/winpos.c
View file @
cc3e0c5d
...
...
@@ -2158,14 +2158,19 @@ LONG WINPOS_HandleWindowPosChanging16( WND *wndPtr, WINDOWPOS16 *winpos )
*/
LONG
WINPOS_HandleWindowPosChanging
(
WND
*
wndPtr
,
WINDOWPOS
*
winpos
)
{
POINT
maxSize
;
POINT
maxSize
,
minTrack
;
if
(
winpos
->
flags
&
SWP_NOSIZE
)
return
0
;
if
((
wndPtr
->
dwStyle
&
WS_THICKFRAME
)
||
((
wndPtr
->
dwStyle
&
(
WS_POPUP
|
WS_CHILD
))
==
0
))
{
WINPOS_GetMinMaxInfo
(
wndPtr
,
&
maxSize
,
NULL
,
NULL
,
NULL
);
WINPOS_GetMinMaxInfo
(
wndPtr
,
&
maxSize
,
NULL
,
&
minTrack
,
NULL
);
winpos
->
cx
=
min
(
winpos
->
cx
,
maxSize
.
x
);
winpos
->
cy
=
min
(
winpos
->
cy
,
maxSize
.
y
);
if
(
!
(
wndPtr
->
dwStyle
&
WS_MINIMIZE
))
{
if
(
winpos
->
cx
<
minTrack
.
x
)
winpos
->
cx
=
minTrack
.
x
;
if
(
winpos
->
cy
<
minTrack
.
y
)
winpos
->
cy
=
minTrack
.
y
;
}
}
return
0
;
}
...
...
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