[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-ebc06183d4e3remotes/x64
parent
a5ddc3e7b3
commit
7c0e0823da
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue