Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
806edd25
Commit
806edd25
authored
May 14, 2006
by
ipkiss
Browse files
* skins2/win32/win32_factory.cpp: msg_Err --> msg_Dbg
parent
df6dba9c
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/gui/skins2/win32/win32_factory.cpp
View file @
806edd25
...
...
@@ -37,7 +37,7 @@
#include
"../commands/cmd_minimize.hpp"
// Custom message for the notifications of the system tray
#define MY_W
S
TRAYACTION (WM_APP + 1)
#define MY_W
M_
TRAYACTION (WM_APP + 1)
LRESULT
CALLBACK
Win32Proc
(
HWND
hwnd
,
UINT
uMsg
,
WPARAM
wParam
,
LPARAM
lParam
)
...
...
@@ -73,14 +73,11 @@ LRESULT CALLBACK Win32Proc( HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam )
}
else
{
msg_
Err
(
p_intf
,
"WM_SYSCOMMAND %i"
,
wParam
);
msg_
Dbg
(
p_intf
,
"WM_SYSCOMMAND %i"
,
wParam
);
}
// if( (Event *)wParam != NULL )
// ( (Event *)wParam )->SendEvent();
// return 0;
}
// Handle systray notifications
else
if
(
uMsg
==
MY_W
S
TRAYACTION
)
else
if
(
uMsg
==
MY_W
M_
TRAYACTION
)
{
if
(
(
UINT
)
lParam
==
WM_LBUTTONDOWN
)
{
...
...
@@ -175,7 +172,7 @@ bool Win32Factory::init()
m_trayIcon
.
hWnd
=
m_hParentWindow
;
m_trayIcon
.
uID
=
42
;
m_trayIcon
.
uFlags
=
NIF_ICON
|
NIF_TIP
|
NIF_MESSAGE
;
m_trayIcon
.
uCallbackMessage
=
MY_W
S
TRAYACTION
;
m_trayIcon
.
uCallbackMessage
=
MY_W
M_
TRAYACTION
;
m_trayIcon
.
hIcon
=
LoadIcon
(
m_hInst
,
_T
(
"VLC_ICON"
)
);
strcpy
(
m_trayIcon
.
szTip
,
"VLC media player"
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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