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
058765f7
Commit
058765f7
authored
Dec 06, 2013
by
Vincent Povirk
Committed by
Alexandre Julliard
Jan 08, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
explorer: Add a start menu.
parent
5a00584b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
0 deletions
+12
-0
Makefile.in
programs/explorer/Makefile.in
+1
-0
explorer_private.h
programs/explorer/explorer_private.h
+2
-0
startmenu.c
programs/explorer/startmenu.c
+0
-0
systray.c
programs/explorer/systray.c
+9
-0
No files found.
programs/explorer/Makefile.in
View file @
058765f7
...
...
@@ -7,6 +7,7 @@ C_SRCS = \
appbar.c
\
desktop.c
\
explorer.c
\
startmenu.c
\
systray.c
RC_SRCS
=
explorer.rc
programs/explorer/explorer_private.h
View file @
058765f7
...
...
@@ -24,5 +24,7 @@
extern
void
manage_desktop
(
WCHAR
*
arg
);
extern
void
initialize_systray
(
HMODULE
graphics_driver
,
BOOL
using_root
);
extern
void
initialize_appbar
(
void
);
extern
void
do_startmenu
(
HWND
owner
);
extern
LRESULT
menu_wndproc
(
HWND
hwnd
,
UINT
msg
,
WPARAM
wparam
,
LPARAM
lparam
);
#endif
/* __WINE_EXPLORER_PRIVATE_H */
programs/explorer/startmenu.c
0 → 100644
View file @
058765f7
This diff is collapsed.
Click to expand it.
programs/explorer/systray.c
View file @
058765f7
...
...
@@ -625,6 +625,15 @@ static LRESULT WINAPI tray_wndproc( HWND hwnd, UINT msg, WPARAM wparam, LPARAM l
ShowWindow
(
hwnd
,
SW_HIDE
);
return
0
;
case
WM_COMMAND
:
if
((
HWND
)
lparam
==
start_button
&&
HIWORD
(
wparam
)
==
BN_CLICKED
)
do_startmenu
(
hwnd
);
break
;
case
WM_INITMENUPOPUP
:
case
WM_MENUCOMMAND
:
return
menu_wndproc
(
hwnd
,
msg
,
wparam
,
lparam
);
default:
return
DefWindowProcW
(
hwnd
,
msg
,
wparam
,
lparam
);
}
...
...
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