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
44691723
Commit
44691723
authored
May 22, 2006
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user: Added A<->W mapping for WM_GETDLGCODE.
parent
1f35ff59
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
42 additions
and
0 deletions
+42
-0
winproc.c
dlls/user/winproc.c
+42
-0
No files found.
dlls/user/winproc.c
View file @
44691723
...
...
@@ -2523,6 +2523,27 @@ LRESULT WINPROC_CallProcAtoW( winproc_callback_t callback, HWND hwnd, UINT msg,
}
break
;
case
WM_GETDLGCODE
:
if
(
lParam
)
{
MSG
newmsg
=
*
(
MSG
*
)
lParam
;
switch
(
newmsg
.
message
)
{
case
WM_CHAR
:
case
WM_DEADCHAR
:
case
WM_SYSCHAR
:
case
WM_SYSDEADCHAR
:
newmsg
.
wParam
=
map_wparam_char_AtoW
(
newmsg
.
wParam
,
1
);
break
;
case
WM_IME_CHAR
:
newmsg
.
wParam
=
map_wparam_char_AtoW
(
newmsg
.
wParam
,
2
);
break
;
}
ret
=
callback
(
hwnd
,
msg
,
wParam
,
(
LPARAM
)
&
newmsg
,
result
,
arg
);
}
else
ret
=
callback
(
hwnd
,
msg
,
wParam
,
lParam
,
result
,
arg
);
break
;
case
WM_CHARTOITEM
:
case
WM_MENUCHAR
:
case
WM_CHAR
:
...
...
@@ -2773,6 +2794,27 @@ static LRESULT WINPROC_CallProcWtoA( winproc_callback_t callback, HWND hwnd, UIN
}
break
;
case
WM_GETDLGCODE
:
if
(
lParam
)
{
MSG
newmsg
=
*
(
MSG
*
)
lParam
;
switch
(
newmsg
.
message
)
{
case
WM_CHAR
:
case
WM_DEADCHAR
:
case
WM_SYSCHAR
:
case
WM_SYSDEADCHAR
:
newmsg
.
wParam
=
map_wparam_char_WtoA
(
newmsg
.
wParam
,
1
);
break
;
case
WM_IME_CHAR
:
newmsg
.
wParam
=
map_wparam_char_WtoA
(
newmsg
.
wParam
,
2
);
break
;
}
ret
=
callback
(
hwnd
,
msg
,
wParam
,
(
LPARAM
)
&
newmsg
,
result
,
arg
);
}
else
ret
=
callback
(
hwnd
,
msg
,
wParam
,
lParam
,
result
,
arg
);
break
;
case
WM_CHARTOITEM
:
case
WM_MENUCHAR
:
case
WM_CHAR
:
...
...
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