Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
806edd25
Commit
806edd25
authored
May 14, 2006
by
Olivier Teulière
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* skins2/win32/win32_factory.cpp: msg_Err --> msg_Dbg
parent
df6dba9c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
7 deletions
+4
-7
modules/gui/skins2/win32/win32_factory.cpp
modules/gui/skins2/win32/win32_factory.cpp
+4
-7
No files found.
modules/gui/skins2/win32/win32_factory.cpp
View file @
806edd25
...
@@ -37,7 +37,7 @@
...
@@ -37,7 +37,7 @@
#include "../commands/cmd_minimize.hpp"
#include "../commands/cmd_minimize.hpp"
// Custom message for the notifications of the system tray
// 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
)
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 )
...
@@ -73,14 +73,11 @@ LRESULT CALLBACK Win32Proc( HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam )
}
}
else
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
// Handle systray notifications
else
if
(
uMsg
==
MY_W
S
TRAYACTION
)
else
if
(
uMsg
==
MY_W
M_
TRAYACTION
)
{
{
if
(
(
UINT
)
lParam
==
WM_LBUTTONDOWN
)
if
(
(
UINT
)
lParam
==
WM_LBUTTONDOWN
)
{
{
...
@@ -175,7 +172,7 @@ bool Win32Factory::init()
...
@@ -175,7 +172,7 @@ bool Win32Factory::init()
m_trayIcon
.
hWnd
=
m_hParentWindow
;
m_trayIcon
.
hWnd
=
m_hParentWindow
;
m_trayIcon
.
uID
=
42
;
m_trayIcon
.
uID
=
42
;
m_trayIcon
.
uFlags
=
NIF_ICON
|
NIF_TIP
|
NIF_MESSAGE
;
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"
)
);
m_trayIcon
.
hIcon
=
LoadIcon
(
m_hInst
,
_T
(
"VLC_ICON"
)
);
strcpy
(
m_trayIcon
.
szTip
,
"VLC media player"
);
strcpy
(
m_trayIcon
.
szTip
,
"VLC media player"
);
...
...
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