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
a2742978
Commit
a2742978
authored
Aug 28, 2008
by
Vincent Povirk
Committed by
Alexandre Julliard
Sep 24, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Handle undocumented WM_POPUPSYSTEMMENU message.
parent
d7ca73ce
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
1 deletion
+15
-1
defwnd.c
dlls/user32/defwnd.c
+12
-0
spy.c
dlls/user32/spy.c
+2
-1
user_private.h
dlls/user32/user_private.h
+1
-0
No files found.
dlls/user32/defwnd.c
View file @
a2742978
...
...
@@ -385,6 +385,18 @@ static LRESULT DEFWND_DefWinProc( HWND hwnd, UINT msg, WPARAM wParam, LPARAM lPa
}
break
;
case
WM_POPUPSYSTEMMENU
:
{
/* This is an undocumented message used by the windows taskbar to
display the system menu of windows that belong to other processes. */
HMENU
menu
=
GetSystemMenu
(
hwnd
,
FALSE
);
if
(
menu
)
TrackPopupMenu
(
menu
,
TPM_LEFTBUTTON
|
TPM_RIGHTBUTTON
,
LOWORD
(
lParam
),
HIWORD
(
lParam
),
0
,
hwnd
,
NULL
);
return
0
;
}
case
WM_NCACTIVATE
:
return
NC_HandleNCActivate
(
hwnd
,
wParam
,
lParam
);
...
...
dlls/user32/spy.c
View file @
a2742978
...
...
@@ -592,7 +592,8 @@ static const char * const MessageTypeNames[SPY_MAX_MSGNUM + 1] =
"WM_PALETTEISCHANGING"
,
"WM_PALETTECHANGED"
,
"WM_HOTKEY"
,
/* 0x0312 */
NULL
,
NULL
,
NULL
,
NULL
,
"WM_POPUPSYSTEMMENU"
,
/* 0x0313 */
NULL
,
NULL
,
NULL
,
"WM_PRINT"
,
/* 0x0317 */
"WM_PRINTCLIENT"
,
/* 0x0318 */
"WM_APPCOMMAND"
,
/* 0x0319 */
...
...
dlls/user32/user_private.h
View file @
a2742978
...
...
@@ -82,6 +82,7 @@ static inline HLOCAL16 LOCAL_Free( HANDLE16 ds, HLOCAL16 handle )
#define GET_DWORD(ptr) (*(const DWORD *)(ptr))
#define WM_SYSTIMER 0x0118
#define WM_POPUPSYSTEMMENU 0x0313
/* internal messages codes */
enum
wine_internal_message
...
...
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