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
fb454584
Commit
fb454584
authored
Jul 03, 2012
by
Sergey Guralnik
Committed by
Alexandre Julliard
Jul 03, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Add test for ComboBox repositioning behavior.
parent
d31b6335
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
msg.c
dlls/user32/tests/msg.c
+19
-0
No files found.
dlls/user32/tests/msg.c
View file @
fb454584
...
...
@@ -5720,6 +5720,21 @@ static const struct message WmKeyDownComboSeq[] =
{
0
}
};
static
const
struct
message
WmSetPosComboSeq
[]
=
{
{
WM_WINDOWPOSCHANGING
,
sent
},
{
WM_NCCALCSIZE
,
sent
|
wparam
,
TRUE
},
{
WM_CHILDACTIVATE
,
sent
},
{
WM_WINDOWPOSCHANGED
,
sent
},
{
WM_MOVE
,
sent
|
defwinproc
},
{
WM_SIZE
,
sent
|
defwinproc
|
wparam
,
SIZE_RESTORED
},
{
WM_WINDOWPOSCHANGING
,
sent
|
defwinproc
},
{
WM_NCCALCSIZE
,
sent
|
defwinproc
|
wparam
,
TRUE
},
{
WM_WINDOWPOSCHANGED
,
sent
|
defwinproc
},
{
WM_SIZE
,
sent
|
defwinproc
|
wparam
,
SIZE_RESTORED
},
{
0
}
};
static
WNDPROC
old_combobox_proc
;
static
LRESULT
CALLBACK
combobox_hook_proc
(
HWND
hwnd
,
UINT
message
,
WPARAM
wParam
,
LPARAM
lParam
)
...
...
@@ -5807,6 +5822,10 @@ static void test_combobox_messages(void)
log_all_parent_messages
--
;
ok_sequence
(
WmKeyDownComboSeq
,
"WM_KEYDOWN/VK_DOWN on a ComboBox"
,
FALSE
);
flush_sequence
();
SetWindowPos
(
combo
,
0
,
10
,
10
,
120
,
130
,
SWP_NOZORDER
);
ok_sequence
(
WmSetPosComboSeq
,
"repositioning messages on a ComboBox"
,
TRUE
);
DestroyWindow
(
combo
);
DestroyWindow
(
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