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
70d42f9d
Commit
70d42f9d
authored
Mar 06, 2006
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user: Allow some Wine internal messages to act on the desktop window.
parent
3289cf1a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
message.c
dlls/user/message.c
+5
-1
No files found.
dlls/user/message.c
View file @
70d42f9d
...
...
@@ -1154,22 +1154,26 @@ static void reply_message( struct received_message_info *info, LRESULT result, B
*/
static
LRESULT
handle_internal_message
(
HWND
hwnd
,
UINT
msg
,
WPARAM
wparam
,
LPARAM
lparam
)
{
if
(
hwnd
==
GetDesktopWindow
())
return
0
;
switch
(
msg
)
{
case
WM_WINE_DESTROYWINDOW
:
return
WIN_DestroyWindow
(
hwnd
);
case
WM_WINE_SETWINDOWPOS
:
if
(
hwnd
==
GetDesktopWindow
())
return
0
;
return
USER_Driver
->
pSetWindowPos
(
(
WINDOWPOS
*
)
lparam
);
case
WM_WINE_SHOWWINDOW
:
if
(
hwnd
==
GetDesktopWindow
())
return
0
;
return
ShowWindow
(
hwnd
,
wparam
);
case
WM_WINE_SETPARENT
:
if
(
hwnd
==
GetDesktopWindow
())
return
0
;
return
(
LRESULT
)
SetParent
(
hwnd
,
(
HWND
)
wparam
);
case
WM_WINE_SETWINDOWLONG
:
return
(
LRESULT
)
SetWindowLongW
(
hwnd
,
wparam
,
lparam
);
case
WM_WINE_ENABLEWINDOW
:
if
(
hwnd
==
GetDesktopWindow
())
return
0
;
return
EnableWindow
(
hwnd
,
wparam
);
case
WM_WINE_SETACTIVEWINDOW
:
if
(
hwnd
==
GetDesktopWindow
())
return
0
;
return
(
LRESULT
)
SetActiveWindow
(
(
HWND
)
wparam
);
case
WM_WINE_KEYBOARD_LL_HOOK
:
return
HOOK_CallHooks
(
WH_KEYBOARD_LL
,
HC_ACTION
,
wparam
,
lparam
,
TRUE
);
...
...
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