Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: src/plugin/PluginClass.cpp

Issue 11557015: Tooltip notification. Check for update fixes. (Closed)
Patch Set: More and more comments addressing Created Sept. 25, 2013, 12:31 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« src/plugin/NotificationMessage.cpp ('K') | « src/plugin/NotificationMessage.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/plugin/PluginClass.cpp
===================================================================
--- a/src/plugin/PluginClass.cpp
+++ b/src/plugin/PluginClass.cpp
@@ -595,10 +595,7 @@
}
}
}
- if (notificationMessage.IsVisible())
- {
- notificationMessage.Hide();
- }
+ notificationMessage.Hide();
DEBUG_GENERAL("Tab change end");
return VARIANT_TRUE;
}
@@ -1806,6 +1803,15 @@
}
}
break;
+ case WM_WINDOWPOSCHANGED:
+ {
+ WINDOWPOS* wndPos = reinterpret_cast<WINDOWPOS*>(lParam);
+ if (wndPos->flags & SWP_HIDEWINDOW)
+ {
+ pClass->notificationMessage.Hide();
+ }
+ }
+ break;
case WM_ALREADY_UP_TO_DATE:
{
Dictionary* dictionary = Dictionary::GetInstance();
« src/plugin/NotificationMessage.cpp ('K') | « src/plugin/NotificationMessage.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld