Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
d7164794
Commit
d7164794
authored
Jul 29, 2011
by
Sergey Radionov
Committed by
Rémi Denis-Courmont
Jul 30, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ActiveX: Fullscreen window now created only when needed.
Signed-off-by:
Rémi Denis-Courmont
<
remi@remlab.net
>
parent
81c0dfc8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
3 deletions
+16
-3
projects/activex/vlc_win32_fullscreen.cpp
projects/activex/vlc_win32_fullscreen.cpp
+16
-3
No files found.
projects/activex/vlc_win32_fullscreen.cpp
View file @
d7164794
...
...
@@ -831,10 +831,14 @@ void VLCWindowsManager::CreateWindows(HWND hWindowedParentWnd)
void
VLCWindowsManager
::
DestroyWindows
()
{
if
(
_FSWnd
){
_FSWnd
->
DestroyWindow
();
}
_FSWnd
=
0
;
if
(
_HolderWnd
){
_HolderWnd
->
DestroyWindow
();
}
_HolderWnd
=
0
;
}
...
...
@@ -852,6 +856,10 @@ void VLCWindowsManager::LibVlcDetach()
void
VLCWindowsManager
::
StartFullScreen
()
{
if
(
getMD
()
&&!
IsFullScreen
()){
if
(
!
_FSWnd
){
_FSWnd
=
VLCFullScreenWnd
::
CreateFSWindow
(
this
);
}
SetParent
(
_HolderWnd
->
getHWND
(),
_FSWnd
->
getHWND
());
SetWindowPos
(
_FSWnd
->
getHWND
(),
HWND_TOPMOST
,
0
,
0
,
GetSystemMetrics
(
SM_CXSCREEN
),
GetSystemMetrics
(
SM_CYSCREEN
),
0
/** /SWP_NOZORDER/**/
);
...
...
@@ -872,6 +880,11 @@ void VLCWindowsManager::EndFullScreen()
ShowWindow
(
_hWindowedParentWnd
,
SW_SHOW
);
ShowWindow
(
_FSWnd
->
getHWND
(),
SW_HIDE
);
if
(
_FSWnd
){
_FSWnd
->
DestroyWindow
();
}
_FSWnd
=
0
;
}
}
...
...
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