From 65c213e2d68fd2388af2c118edf0e0025a5031ee Mon Sep 17 00:00:00 2001 From: Don Ho Date: Sat, 4 Jul 2009 11:34:21 +0000 Subject: [PATCH] [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 --- PowerEditor/src/Notepad_plus.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/PowerEditor/src/Notepad_plus.cpp b/PowerEditor/src/Notepad_plus.cpp index df4abcd6d..fe2ba9f0e 100644 --- a/PowerEditor/src/Notepad_plus.cpp +++ b/PowerEditor/src/Notepad_plus.cpp @@ -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; } }