[BUG_FIXED] - In Windows 7 when the find dialog was closed the translucaent shadow remained. [Ticket#2786783]

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@476 f5eea248-9336-0410-98b8-ebc06183d4e3
remotes/x64
Thell Fowler 2009-05-09 04:41:32 +00:00
parent a5ddc3e7b3
commit 7c0e0823da
1 changed files with 1 additions and 1 deletions

View File

@ -683,7 +683,7 @@ BOOL CALLBACK FindReplaceDlg::run_dlgProc(UINT message, WPARAM wParam, LPARAM lP
if (isCheckedOrNot(IDC_TRANSPARENT_LOSSFOCUS_RADIO))
{
if (LOWORD(wParam) == WA_INACTIVE)
if (LOWORD(wParam) == WA_INACTIVE && Window::isVisible())
{
int percent = ::SendDlgItemMessage(_hSelf, IDC_PERCENTAGE_SLIDER, TBM_GETPOS, 0, 0);
(NppParameters::getInstance())->SetTransparent(_hSelf, percent);