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
854413e5
Commit
854413e5
authored
Mar 27, 2008
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Mar 27, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Add a defwinproc flag when appropriate.
parent
de3c19c2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
msg.c
dlls/user32/tests/msg.c
+7
-3
No files found.
dlls/user32/tests/msg.c
View file @
854413e5
...
...
@@ -4924,7 +4924,7 @@ static void test_static_messages(void)
static
const
struct
message
WmKeyDownComboSeq
[]
=
{
{
WM_KEYDOWN
,
sent
|
wparam
|
lparam
,
VK_DOWN
,
0
},
{
WM_COMMAND
,
sent
|
wparam
,
MAKEWPARAM
(
1000
,
LBN_SELCHANGE
)
},
{
WM_COMMAND
,
sent
|
wparam
|
defwinproc
,
MAKEWPARAM
(
1000
,
LBN_SELCHANGE
)
},
{
WM_COMMAND
,
sent
|
wparam
|
parent
,
MAKEWPARAM
(
ID_COMBOBOX
,
CBN_SELENDOK
)
},
{
WM_COMMAND
,
sent
|
wparam
|
parent
,
MAKEWPARAM
(
ID_COMBOBOX
,
CBN_SELCHANGE
)
},
{
WM_CTLCOLOREDIT
,
sent
|
parent
},
...
...
@@ -4954,6 +4954,7 @@ static LRESULT CALLBACK combobox_hook_proc(HWND hwnd, UINT message, WPARAM wPara
msg
.
message
=
message
;
msg
.
flags
=
sent
|
wparam
|
lparam
;
if
(
defwndproc_counter
)
msg
.
flags
|=
defwinproc
;
msg
.
wParam
=
wParam
;
msg
.
lParam
=
lParam
;
add_message
(
&
msg
);
...
...
@@ -6838,6 +6839,7 @@ static LRESULT CALLBACK cbt_hook_proc(int nCode, WPARAM wParam, LPARAM lParam)
!
lstrcmpiA
(
buf
,
"my_edit_class"
)
||
!
lstrcmpiA
(
buf
,
"static"
)
||
!
lstrcmpiA
(
buf
,
"ListBox"
)
||
!
lstrcmpiA
(
buf
,
"ComboBox"
)
||
!
lstrcmpiA
(
buf
,
"MyDialogClass"
)
||
!
lstrcmpiA
(
buf
,
"#32770"
))
{
...
...
@@ -6886,6 +6888,7 @@ static void CALLBACK win_event_proc(HWINEVENTHOOK hevent,
!
lstrcmpiA
(
buf
,
"my_edit_class"
)
||
!
lstrcmpiA
(
buf
,
"static"
)
||
!
lstrcmpiA
(
buf
,
"ListBox"
)
||
!
lstrcmpiA
(
buf
,
"ComboBox"
)
||
!
lstrcmpiA
(
buf
,
"MyDialogClass"
)
||
!
lstrcmpiA
(
buf
,
"#32770"
))
{
...
...
@@ -10112,7 +10115,7 @@ static const struct message wm_lb_click_0[] =
{
WM_IME_SETCONTEXT
,
sent
|
wparam
|
optional
|
parent
,
0
},
{
WM_IME_SETCONTEXT
,
sent
|
wparam
|
optional
,
1
},
{
EVENT_OBJECT_FOCUS
,
winevent_hook
|
wparam
|
lparam
,
OBJID_CLIENT
,
0
},
{
WM_SETFOCUS
,
sent
},
{
WM_SETFOCUS
,
sent
|
defwinproc
},
{
WM_DRAWITEM
,
sent
|
wparam
|
lparam
|
parent
,
ID_LISTBOX
,
0x001142f2
},
{
WM_COMMAND
,
sent
|
wparam
|
parent
,
MAKEWPARAM
(
ID_LISTBOX
,
LBN_SETFOCUS
)
},
...
...
@@ -10132,7 +10135,7 @@ static const struct message wm_lb_click_0[] =
{
WM_LBUTTONUP
,
sent
|
wparam
|
lparam
,
0
,
0
},
{
EVENT_SYSTEM_CAPTUREEND
,
winevent_hook
|
wparam
|
lparam
,
0
,
0
},
{
WM_CAPTURECHANGED
,
sent
|
wparam
|
lparam
,
0
,
0
},
{
WM_CAPTURECHANGED
,
sent
|
wparam
|
lparam
|
defwinproc
,
0
,
0
},
{
WM_COMMAND
,
sent
|
wparam
|
parent
,
MAKEWPARAM
(
ID_LISTBOX
,
LBN_SELCHANGE
)
},
{
0
}
};
...
...
@@ -10161,6 +10164,7 @@ static LRESULT WINAPI listbox_hook_proc(HWND hwnd, UINT message, WPARAM wp, LPAR
msg
.
message
=
message
;
msg
.
flags
=
sent
|
wparam
|
lparam
;
if
(
defwndproc_counter
)
msg
.
flags
|=
defwinproc
;
msg
.
wParam
=
wp
;
msg
.
lParam
=
lp
;
add_message
(
&
msg
);
...
...
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