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
50efe19c
Commit
50efe19c
authored
Jan 28, 2011
by
Erwan Tulou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
skins2(Win32): wParam to be stripped of 4 bits (see msdn doc)
parent
d69bf360
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/gui/skins2/win32/win32_factory.cpp
modules/gui/skins2/win32/win32_factory.cpp
+4
-4
No files found.
modules/gui/skins2/win32/win32_factory.cpp
View file @
50efe19c
...
...
@@ -66,24 +66,24 @@ LRESULT CALLBACK Win32Factory::Win32Proc( HWND hwnd, UINT uMsg,
if
(
uMsg
==
WM_SYSCOMMAND
)
{
// If closing parent window
if
(
wParam
==
SC_CLOSE
)
if
(
(
wParam
&
0xFFF0
)
==
SC_CLOSE
)
{
libvlc_Quit
(
p_intf
->
p_libvlc
);
return
0
;
}
else
if
(
wParam
==
SC_MINIMIZE
)
else
if
(
(
wParam
&
0xFFF0
)
==
SC_MINIMIZE
)
{
pFactory
->
minimize
();
return
0
;
}
else
if
(
wParam
==
SC_RESTORE
)
else
if
(
(
wParam
&
0xFFF0
)
==
SC_RESTORE
)
{
pFactory
->
restore
();
return
0
;
}
else
{
msg_Dbg
(
p_intf
,
"WM_SYSCOMMAND %i"
,
wParam
);
msg_Dbg
(
p_intf
,
"WM_SYSCOMMAND %i"
,
(
wParam
&
0xFFF0
)
);
}
}
// Handle systray notifications
...
...
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