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
b78784c3
Commit
b78784c3
authored
Nov 30, 2005
by
Vitaliy Margolen
Committed by
Alexandre Julliard
Nov 30, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
New maximized visible window should be shown with
ShowWindow(SW_SHOW).
parent
aae76324
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
msg.c
dlls/user/tests/msg.c
+1
-1
win.c
dlls/user/win.c
+1
-1
No files found.
dlls/user/tests/msg.c
View file @
b78784c3
...
...
@@ -3117,7 +3117,7 @@ static void test_showwindow(void)
hwnd
=
CreateWindowExA
(
0
,
"TestWindowClass"
,
"Test popup"
,
WS_POPUP
|
WS_MAXIMIZE
|
WS_VISIBLE
,
100
,
100
,
200
,
200
,
0
,
0
,
0
,
NULL
);
ok
(
hwnd
!=
0
,
"Failed to create popup window
\n
"
);
ok_sequence
(
WmCreateMaxPopupSeq
,
"CreateWindow(WS_MAXIMIZED):popup"
,
TRU
E
);
ok_sequence
(
WmCreateMaxPopupSeq
,
"CreateWindow(WS_MAXIMIZED):popup"
,
FALS
E
);
trace
(
"done
\n
"
);
DestroyWindow
(
hwnd
);
flush_sequence
();
...
...
dlls/user/win.c
View file @
b78784c3
...
...
@@ -1068,7 +1068,7 @@ static HWND WIN_CreateWindowEx( CREATESTRUCTA *cs, ATOM classAtom,
if
(
cs
->
style
&
WS_VISIBLE
)
{
if
(
cs
->
style
&
WS_MAXIMIZE
)
sw
=
SW_SHOW
MAXIMIZED
;
sw
=
SW_SHOW
;
else
if
(
cs
->
style
&
WS_MINIMIZE
)
sw
=
SW_SHOWMINIMIZED
;
...
...
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