mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
CtrlCore: TopWindow FullScreen for open window in Win32
git-svn-id: svn://ultimatepp.org/upp/trunk@2941 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
e16b757c89
commit
0567486daa
1 changed files with 7 additions and 0 deletions
|
|
@ -232,6 +232,13 @@ void TopWindow::Minimize(bool effect)
|
|||
TopWindow& TopWindow::FullScreen(bool b)
|
||||
{
|
||||
fullscreen = b;
|
||||
HWND hwnd = GetOwnerHWND();
|
||||
bool pinloop = inloop;
|
||||
WndDestroy();
|
||||
Overlap();
|
||||
SetRect(GetDefaultWindowRect());
|
||||
Open(hwnd);
|
||||
inloop = pinloop;
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue