[BUG_FIXED] Fix the bug that Notepad++ does not show on while it is minimized and its file is modified from outside.

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@506 f5eea248-9336-0410-98b8-ebc06183d4e3
remotes/x64
Don Ho 2009-07-04 11:34:21 +00:00
parent 05bb2a8f77
commit 65c213e2d6
1 changed files with 2 additions and 0 deletions

View File

@ -8530,6 +8530,8 @@ LRESULT Notepad_plus::runProc(HWND hwnd, UINT Message, WPARAM wParam, LPARAM lPa
{
_activeAppInf._isActivated = true;
checkModifiedDocument();
if (::IsIconic(_hSelf))
::ShowWindow(_hSelf, SW_RESTORE);
return FALSE;
}
}