mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-22 13:24:42 +02:00
[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
This commit is contained in:
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…
x
Reference in New Issue
Block a user