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
898f4163
Commit
898f4163
authored
Jun 07, 2005
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Still send a message in SetWindowText for the inter-process case even
though it's not fully correct (reported by Jason Campbell).
parent
d6a4e34a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
10 deletions
+4
-10
win.c
dlls/user/win.c
+4
-10
No files found.
dlls/user/win.c
View file @
898f4163
...
...
@@ -2292,11 +2292,8 @@ BOOL WINAPI SetWindowTextA( HWND hwnd, LPCSTR lpString )
return
FALSE
;
}
if
(
!
WIN_IsCurrentProcess
(
hwnd
))
{
FIXME
(
"cannot set text %s of other process window %p
\n
"
,
debugstr_a
(
lpString
),
hwnd
);
SetLastError
(
ERROR_ACCESS_DENIED
);
return
FALSE
;
}
FIXME
(
"setting text %s of other process window %p should not use SendMessage
\n
"
,
debugstr_a
(
lpString
),
hwnd
);
return
(
BOOL
)
SendMessageA
(
hwnd
,
WM_SETTEXT
,
0
,
(
LPARAM
)
lpString
);
}
...
...
@@ -2312,11 +2309,8 @@ BOOL WINAPI SetWindowTextW( HWND hwnd, LPCWSTR lpString )
return
FALSE
;
}
if
(
!
WIN_IsCurrentProcess
(
hwnd
))
{
FIXME
(
"cannot set text %s of other process window %p
\n
"
,
debugstr_w
(
lpString
),
hwnd
);
SetLastError
(
ERROR_ACCESS_DENIED
);
return
FALSE
;
}
FIXME
(
"setting text %s of other process window %p should not use SendMessage
\n
"
,
debugstr_w
(
lpString
),
hwnd
);
return
(
BOOL
)
SendMessageW
(
hwnd
,
WM_SETTEXT
,
0
,
(
LPARAM
)
lpString
);
}
...
...
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