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
ccd60c19
Commit
ccd60c19
authored
Jan 08, 2007
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Jan 08, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Add one more GetSystemMenu test.
parent
b8c72fdf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
msg.c
dlls/user32/tests/msg.c
+10
-0
No files found.
dlls/user32/tests/msg.c
View file @
ccd60c19
...
...
@@ -3588,6 +3588,16 @@ static void test_sys_menu(void)
ok
(
state
==
0xffffffff
,
"wrong SC_CLOSE state %x
\n
"
,
state
);
DestroyWindow
(
hwnd
);
/* test new window without WS_SYSMENU style */
hwnd
=
CreateWindowExA
(
0
,
"NoCloseWindowClass"
,
NULL
,
WS_OVERLAPPEDWINDOW
&
~
WS_SYSMENU
,
100
,
100
,
200
,
200
,
0
,
0
,
0
,
NULL
);
ok
(
hwnd
!=
0
,
"Failed to create overlapped window
\n
"
);
hmenu
=
GetSystemMenu
(
hwnd
,
FALSE
);
ok
(
!
hmenu
,
"GetSystemMenu error %d
\n
"
,
GetLastError
());
DestroyWindow
(
hwnd
);
}
/* test if we receive the right sequence of messages */
...
...
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