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
1cc88177
Commit
1cc88177
authored
Jan 31, 2002
by
Guy Albertelli
Committed by
Alexandre Julliard
Jan 31, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- fix order of parameters is SendNotify
- always use the dlg cntrl ID of the sender
parent
3687100c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
comctl32undoc.c
dlls/comctl32/comctl32undoc.c
+6
-5
No files found.
dlls/comctl32/comctl32undoc.c
View file @
1cc88177
...
...
@@ -2295,8 +2295,9 @@ DoNotify (LPNOTIFYDATA lpNotify, UINT uCode, LPNMHDR lpHdr)
HWND
hwndParent
=
GetParent
(
lpNotify
->
hwndFrom
);
if
(
hwndParent
)
{
hwndParent
=
GetWindow
(
lpNotify
->
hwndFrom
,
GW_OWNER
);
if
(
hwndParent
)
idFrom
=
GetDlgCtrlID
(
lpNotify
->
hwndFrom
);
/* the following is done even if the return from above
* is zero. GLA 12/2001 */
idFrom
=
GetDlgCtrlID
(
lpNotify
->
hwndFrom
);
}
}
...
...
@@ -2315,8 +2316,8 @@ DoNotify (LPNOTIFYDATA lpNotify, UINT uCode, LPNMHDR lpHdr)
* SendNotify [COMCTL32.341]
*
* PARAMS
* hwndFrom [I]
* hwndTo [I]
* hwndFrom [I]
* uCode [I]
* lpHdr [I]
*
...
...
@@ -2326,13 +2327,13 @@ DoNotify (LPNOTIFYDATA lpNotify, UINT uCode, LPNMHDR lpHdr)
*/
LRESULT
WINAPI
COMCTL32_SendNotify
(
HWND
hwnd
From
,
HWND
hwndTo
,
COMCTL32_SendNotify
(
HWND
hwnd
To
,
HWND
hwndFrom
,
UINT
uCode
,
LPNMHDR
lpHdr
)
{
NOTIFYDATA
notify
;
TRACE
(
"(0x%04x 0x%04x %d %p)
\n
"
,
hwnd
From
,
hwndTo
,
uCode
,
lpHdr
);
hwnd
To
,
hwndFrom
,
uCode
,
lpHdr
);
notify
.
hwndFrom
=
hwndFrom
;
notify
.
hwndTo
=
hwndTo
;
...
...
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