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
7c4d6a98
Commit
7c4d6a98
authored
Jun 28, 2002
by
Guy L. Albertelli
Committed by
Alexandre Julliard
Jun 28, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Add support for UpDown control messages.
- Add detection for Wine's PropertySheet Dialog to translate messages.
parent
d2aa62bf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
1 deletion
+28
-1
spy.c
windows/spy.c
+28
-1
No files found.
windows/spy.c
View file @
7c4d6a98
...
...
@@ -1449,6 +1449,25 @@ static const USER_MSG propsht_array[] = {
USM
(
PSM_SETTITLEW
,
0
),
USM
(
PSM_SETFINISHTEXTW
,
0
),
{
0
,
0
,
0
}
};
const
WCHAR
PropSheetInfoStr
[]
=
{
'P'
,
'r'
,
'o'
,
'p'
,
'e'
,
'r'
,
't'
,
'y'
,
'S'
,
'h'
,
'e'
,
'e'
,
't'
,
'I'
,
'n'
,
'f'
,
'o'
,
0
};
static
const
USER_MSG
updown_array
[]
=
{
USM
(
UDM_SETRANGE
,
0
),
USM
(
UDM_GETRANGE
,
0
),
USM
(
UDM_SETPOS
,
0
),
USM
(
UDM_GETPOS
,
0
),
USM
(
UDM_SETBUDDY
,
0
),
USM
(
UDM_GETBUDDY
,
0
),
USM
(
UDM_SETACCEL
,
0
),
USM
(
UDM_GETACCEL
,
0
),
USM
(
UDM_SETBASE
,
0
),
USM
(
UDM_GETBASE
,
0
),
USM
(
UDM_SETRANGE32
,
0
),
USM
(
UDM_GETRANGE32
,
0
),
USM
(
UDM_SETPOS32
,
0
),
USM
(
UDM_GETPOS32
,
0
),
{
0
,
0
,
0
}
};
#undef SZOF
#undef USM
...
...
@@ -1458,6 +1477,7 @@ static CONTROL_CLASS cc_array[] = {
{
REBARCLASSNAMEW
,
rebar_array
,
0
},
{
TOOLBARCLASSNAMEW
,
toolbar_array
,
0
},
{
WC_PROPSHEETW
,
propsht_array
,
0
},
{
UPDOWN_CLASSW
,
updown_array
,
0
},
{
0
,
0
,
0
}
};
...
...
@@ -1868,7 +1888,14 @@ void SPY_GetWndName( SPY_INSTANCE *sp_e )
/* save and restore error code over the next call */
save_error
=
GetLastError
();
GetClassNameW
(
sp_e
->
msg_hwnd
,
sp_e
->
wnd_class
,
sizeof
(
sp_e
->
wnd_class
)
/
sizeof
(
WCHAR
));
/* special code to detect a property sheet dialog */
if
((
GetClassLongW
(
sp_e
->
msg_hwnd
,
GCW_ATOM
)
==
(
LONG
)
WC_DIALOGW
)
&&
(
GetPropW
(
sp_e
->
msg_hwnd
,
PropSheetInfoStr
)))
{
strcpyW
(
sp_e
->
wnd_class
,
WC_PROPSHEETW
);
}
else
{
GetClassNameW
(
sp_e
->
msg_hwnd
,
sp_e
->
wnd_class
,
sizeof
(
sp_e
->
wnd_class
)
/
sizeof
(
WCHAR
));
}
SetLastError
(
save_error
);
len
=
InternalGetWindowText
(
sp_e
->
msg_hwnd
,
sp_e
->
wnd_name
,
sizeof
(
sp_e
->
wnd_name
)
/
sizeof
(
WCHAR
));
...
...
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