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
066c60eb
Commit
066c60eb
authored
Feb 07, 2008
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Feb 12, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Add a couple of tests for WS_EX_TOPMOST.
parent
664c68a2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
win.c
dlls/user32/tests/win.c
+8
-0
No files found.
dlls/user32/tests/win.c
View file @
066c60eb
...
...
@@ -1857,6 +1857,14 @@ static void test_SetWindowPos(HWND hwnd)
SetWindowPos
(
hwnd
,
0
,
orig_win_rc
.
left
,
orig_win_rc
.
top
,
orig_win_rc
.
right
,
orig_win_rc
.
bottom
,
0
);
ok
(
!
(
GetWindowLong
(
hwnd
,
GWL_EXSTYLE
)
&
WS_EX_TOPMOST
),
"WS_EX_TOPMOST should not be set
\n
"
);
SetWindowPos
(
hwnd
,
HWND_TOPMOST
,
0
,
0
,
0
,
0
,
SWP_NOSIZE
|
SWP_NOMOVE
);
ok
(
GetWindowLong
(
hwnd
,
GWL_EXSTYLE
)
&
WS_EX_TOPMOST
,
"WS_EX_TOPMOST should be set
\n
"
);
SetWindowPos
(
hwnd
,
HWND_TOP
,
0
,
0
,
0
,
0
,
SWP_NOSIZE
|
SWP_NOMOVE
);
ok
(
GetWindowLong
(
hwnd
,
GWL_EXSTYLE
)
&
WS_EX_TOPMOST
,
"WS_EX_TOPMOST should be set
\n
"
);
SetWindowPos
(
hwnd
,
HWND_NOTOPMOST
,
0
,
0
,
0
,
0
,
SWP_NOSIZE
|
SWP_NOMOVE
);
ok
(
!
(
GetWindowLong
(
hwnd
,
GWL_EXSTYLE
)
&
WS_EX_TOPMOST
),
"WS_EX_TOPMOST should not be set
\n
"
);
}
static
void
test_SetMenu
(
HWND
parent
)
...
...
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