Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
5e9dab58
Commit
5e9dab58
authored
Jun 07, 2000
by
Alexandre Julliard
Committed by
Alexandre Julliard
Jun 07, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
The window dimensions have to be initialized before sending the
WM_GETMINMAXINFO message.
parent
0121ac1a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
win.c
windows/win.c
+8
-0
No files found.
windows/win.c
View file @
5e9dab58
...
@@ -862,6 +862,14 @@ static HWND WIN_CreateWindowEx( CREATESTRUCTA *cs, ATOM classAtom,
...
@@ -862,6 +862,14 @@ static HWND WIN_CreateWindowEx( CREATESTRUCTA *cs, ATOM classAtom,
else
if
(
classPtr
->
style
&
CS_CLASSDC
)
wndPtr
->
dce
=
classPtr
->
dce
;
else
if
(
classPtr
->
style
&
CS_CLASSDC
)
wndPtr
->
dce
=
classPtr
->
dce
;
else
wndPtr
->
dce
=
NULL
;
else
wndPtr
->
dce
=
NULL
;
/* Initialize the dimensions before sending WM_GETMINMAXINFO */
wndPtr
->
rectWindow
.
left
=
cs
->
x
;
wndPtr
->
rectWindow
.
top
=
cs
->
y
;
wndPtr
->
rectWindow
.
right
=
cs
->
x
+
cs
->
cx
;
wndPtr
->
rectWindow
.
bottom
=
cs
->
y
+
cs
->
cy
;
wndPtr
->
rectClient
=
wndPtr
->
rectWindow
;
/* Send the WM_GETMINMAXINFO message and fix the size if needed */
/* Send the WM_GETMINMAXINFO message and fix the size if needed */
if
((
cs
->
style
&
WS_THICKFRAME
)
||
!
(
cs
->
style
&
(
WS_POPUP
|
WS_CHILD
)))
if
((
cs
->
style
&
WS_THICKFRAME
)
||
!
(
cs
->
style
&
(
WS_POPUP
|
WS_CHILD
)))
...
...
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