mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-16 22:02:58 -06:00
CtrlCore: Improved behaviour when window is maximized, closed and opened again (in Win32)
git-svn-id: svn://ultimatepp.org/upp/trunk@11225 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
1f1cfa574f
commit
a8766bc1ce
1 changed files with 4 additions and 0 deletions
|
|
@ -46,6 +46,10 @@ LRESULT TopWindow::WindowProc(UINT message, WPARAM wParam, LPARAM lParam)
|
|||
WhenClose();
|
||||
}
|
||||
return 0;
|
||||
case WM_DESTROY:
|
||||
if(overlapped.GetWidth() && overlapped.GetHeight())
|
||||
SetRect(overlapped);
|
||||
break;
|
||||
case WM_WINDOWPOSCHANGED:
|
||||
if(!isopen)
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue