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
dd856be3
Commit
dd856be3
authored
Oct 31, 2014
by
Huw Davies
Committed by
Alexandre Julliard
Nov 03, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/tests: Post a key-down message rather than use keybd_event.
parent
0ef0477f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
propsheet.c
dlls/comctl32/tests/propsheet.c
+3
-2
No files found.
dlls/comctl32/tests/propsheet.c
View file @
dd856be3
...
...
@@ -524,7 +524,7 @@ page_with_custom_default_button_dlg_proc(HWND hdlg, UINT msg, WPARAM wparam, LPA
static
void
test_custom_default_button
(
void
)
{
HWND
hdlg
;
HWND
hdlg
,
page
;
PROPSHEETPAGEA
psp
[
1
];
PROPSHEETHEADERA
psh
;
MSG
msg
;
...
...
@@ -568,7 +568,8 @@ static void test_custom_default_button(void)
/* At this point, the combobox should have keyboard focus, so we press ENTER.
* Pull the lever, Kronk! */
keybd_event
(
VK_RETURN
,
0
,
0
,
0
);
page
=
(
HWND
)
SendMessageW
(
hdlg
,
PSM_GETCURRENTPAGEHWND
,
0
,
0
);
PostMessageW
(
GetDlgItem
(
page
,
IDC_PS_COMBO1
),
WM_KEYDOWN
,
VK_RETURN
,
0
);
/* Process all the messages in the queue for this thread. */
while
(
PeekMessageA
(
&
msg
,
NULL
,
0
,
0
,
PM_REMOVE
))
...
...
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