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
5c2cbc68
Commit
5c2cbc68
authored
Feb 14, 2001
by
Susan Farley
Committed by
Alexandre Julliard
Feb 14, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Exception for allowing the parent to set the cursor for a child wnd is
when the cursor is on the border of a resizable wnd.
parent
9316fa3d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
defwnd.c
windows/defwnd.c
+9
-3
No files found.
windows/defwnd.c
View file @
5c2cbc68
...
...
@@ -499,9 +499,15 @@ static LRESULT DEFWND_DefWinProc( WND *wndPtr, UINT msg, WPARAM wParam,
case
WM_SETCURSOR
:
if
(
wndPtr
->
dwStyle
&
WS_CHILD
)
if
(
pSendMessage
(
wndPtr
->
parent
->
hwndSelf
,
WM_SETCURSOR
,
wParam
,
lParam
))
return
TRUE
;
{
/* with the exception of the border around a resizable wnd,
* give the parent first chance to set the cursor */
if
((
LOWORD
(
lParam
)
<
HTSIZEFIRST
)
||
(
LOWORD
(
lParam
)
>
HTSIZELAST
))
{
if
(
pSendMessage
(
wndPtr
->
parent
->
hwndSelf
,
WM_SETCURSOR
,
wParam
,
lParam
))
return
TRUE
;
}
}
return
NC_HandleSetCursor
(
wndPtr
->
hwndSelf
,
wParam
,
lParam
);
case
WM_SYSCOMMAND
:
...
...
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