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
056a9404
Commit
056a9404
authored
Nov 20, 2006
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Nov 21, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Add some optional messages to the button message test.
parent
a6e2fe5a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
msg.c
dlls/user32/tests/msg.c
+6
-1
No files found.
dlls/user32/tests/msg.c
View file @
056a9404
...
@@ -4034,6 +4034,7 @@ static const struct message WmSetFocusButtonSeq[] =
...
@@ -4034,6 +4034,7 @@ static const struct message WmSetFocusButtonSeq[] =
{
{
{
HCBT_SETFOCUS
,
hook
},
{
HCBT_SETFOCUS
,
hook
},
{
WM_IME_SETCONTEXT
,
sent
|
wparam
|
optional
,
1
},
{
WM_IME_SETCONTEXT
,
sent
|
wparam
|
optional
,
1
},
{
WM_IME_NOTIFY
,
sent
|
wparam
|
defwinproc
|
optional
,
2
},
{
EVENT_OBJECT_FOCUS
,
winevent_hook
|
wparam
|
lparam
,
OBJID_CLIENT
,
0
},
{
EVENT_OBJECT_FOCUS
,
winevent_hook
|
wparam
|
lparam
,
OBJID_CLIENT
,
0
},
{
WM_SETFOCUS
,
sent
|
wparam
,
0
},
{
WM_SETFOCUS
,
sent
|
wparam
,
0
},
{
WM_CTLCOLORBTN
,
sent
|
defwinproc
},
{
WM_CTLCOLORBTN
,
sent
|
defwinproc
},
...
@@ -4046,12 +4047,14 @@ static const struct message WmKillFocusButtonSeq[] =
...
@@ -4046,12 +4047,14 @@ static const struct message WmKillFocusButtonSeq[] =
{
WM_KILLFOCUS
,
sent
|
wparam
,
0
},
{
WM_KILLFOCUS
,
sent
|
wparam
,
0
},
{
WM_CTLCOLORBTN
,
sent
|
defwinproc
},
{
WM_CTLCOLORBTN
,
sent
|
defwinproc
},
{
WM_IME_SETCONTEXT
,
sent
|
wparam
|
optional
,
0
},
{
WM_IME_SETCONTEXT
,
sent
|
wparam
|
optional
,
0
},
{
WM_IME_NOTIFY
,
sent
|
wparam
|
defwinproc
|
optional
,
1
},
{
0
}
{
0
}
};
};
static
const
struct
message
WmSetFocusStaticSeq
[]
=
static
const
struct
message
WmSetFocusStaticSeq
[]
=
{
{
{
HCBT_SETFOCUS
,
hook
},
{
HCBT_SETFOCUS
,
hook
},
{
WM_IME_SETCONTEXT
,
sent
|
wparam
|
optional
,
1
},
{
WM_IME_SETCONTEXT
,
sent
|
wparam
|
optional
,
1
},
{
WM_IME_NOTIFY
,
sent
|
wparam
|
defwinproc
|
optional
,
2
},
{
EVENT_OBJECT_FOCUS
,
winevent_hook
|
wparam
|
lparam
,
OBJID_CLIENT
,
0
},
{
EVENT_OBJECT_FOCUS
,
winevent_hook
|
wparam
|
lparam
,
OBJID_CLIENT
,
0
},
{
WM_SETFOCUS
,
sent
|
wparam
,
0
},
{
WM_SETFOCUS
,
sent
|
wparam
,
0
},
{
WM_CTLCOLORSTATIC
,
sent
|
defwinproc
},
{
WM_CTLCOLORSTATIC
,
sent
|
defwinproc
},
...
@@ -4064,6 +4067,7 @@ static const struct message WmKillFocusStaticSeq[] =
...
@@ -4064,6 +4067,7 @@ static const struct message WmKillFocusStaticSeq[] =
{
WM_KILLFOCUS
,
sent
|
wparam
,
0
},
{
WM_KILLFOCUS
,
sent
|
wparam
,
0
},
{
WM_CTLCOLORSTATIC
,
sent
|
defwinproc
},
{
WM_CTLCOLORSTATIC
,
sent
|
defwinproc
},
{
WM_IME_SETCONTEXT
,
sent
|
wparam
|
optional
,
0
},
{
WM_IME_SETCONTEXT
,
sent
|
wparam
|
optional
,
0
},
{
WM_IME_NOTIFY
,
sent
|
wparam
|
defwinproc
|
optional
,
1
},
{
0
}
{
0
}
};
};
static
const
struct
message
WmLButtonDownSeq
[]
=
static
const
struct
message
WmLButtonDownSeq
[]
=
...
@@ -4072,6 +4076,7 @@ static const struct message WmLButtonDownSeq[] =
...
@@ -4072,6 +4076,7 @@ static const struct message WmLButtonDownSeq[] =
{
EVENT_SYSTEM_CAPTURESTART
,
winevent_hook
|
wparam
|
lparam
,
0
,
0
},
{
EVENT_SYSTEM_CAPTURESTART
,
winevent_hook
|
wparam
|
lparam
,
0
,
0
},
{
HCBT_SETFOCUS
,
hook
},
{
HCBT_SETFOCUS
,
hook
},
{
WM_IME_SETCONTEXT
,
sent
|
wparam
|
defwinproc
|
optional
,
1
},
{
WM_IME_SETCONTEXT
,
sent
|
wparam
|
defwinproc
|
optional
,
1
},
{
WM_IME_NOTIFY
,
sent
|
wparam
|
defwinproc
|
optional
,
2
},
{
EVENT_OBJECT_FOCUS
,
winevent_hook
|
wparam
|
lparam
,
OBJID_CLIENT
,
0
},
{
EVENT_OBJECT_FOCUS
,
winevent_hook
|
wparam
|
lparam
,
OBJID_CLIENT
,
0
},
{
WM_SETFOCUS
,
sent
|
wparam
|
defwinproc
,
0
},
{
WM_SETFOCUS
,
sent
|
wparam
|
defwinproc
,
0
},
{
WM_CTLCOLORBTN
,
sent
|
defwinproc
},
{
WM_CTLCOLORBTN
,
sent
|
defwinproc
},
...
@@ -4180,7 +4185,7 @@ static void test_button_messages(void)
...
@@ -4180,7 +4185,7 @@ static void test_button_messages(void)
ok
(
hwnd
!=
0
,
"Failed to create button window
\n
"
);
ok
(
hwnd
!=
0
,
"Failed to create button window
\n
"
);
dlg_code
=
SendMessageA
(
hwnd
,
WM_GETDLGCODE
,
0
,
0
);
dlg_code
=
SendMessageA
(
hwnd
,
WM_GETDLGCODE
,
0
,
0
);
ok
(
dlg_code
==
button
[
i
].
dlg_code
,
"%
d
: wrong dlg_code %08x
\n
"
,
i
,
dlg_code
);
ok
(
dlg_code
==
button
[
i
].
dlg_code
,
"%
u
: wrong dlg_code %08x
\n
"
,
i
,
dlg_code
);
ShowWindow
(
hwnd
,
SW_SHOW
);
ShowWindow
(
hwnd
,
SW_SHOW
);
UpdateWindow
(
hwnd
);
UpdateWindow
(
hwnd
);
...
...
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