diff options
author | George Hazan <george.hazan@gmail.com> | 2013-06-11 20:42:44 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-06-11 20:42:44 +0000 |
commit | 13964bc99fce9d033bd4c87b44a80f96436fca1f (patch) | |
tree | 77b7217dd2938cb615b00cc4a5fdb665fc09af67 | |
parent | f51e892df8b11537714ffc3af8e09d44d6f14c7b (diff) |
fix not to activate the tooltip window
git-svn-id: http://svn.miranda-ng.org/main/trunk@4922 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | plugins/TooltipNotify/src/TooltipNotify.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TooltipNotify/src/TooltipNotify.cpp b/plugins/TooltipNotify/src/TooltipNotify.cpp index 34bcedbdbd..b88f41c71b 100644 --- a/plugins/TooltipNotify/src/TooltipNotify.cpp +++ b/plugins/TooltipNotify/src/TooltipNotify.cpp @@ -315,7 +315,7 @@ CTooltip *CTooltipNotify::BeginNotify(STooltipData *pTooltipData) SystemParametersInfo(SPI_GETWORKAREA, 0, &WorkAreaRect, 0);
pTooltip->get_Rect(&TooltipRect);
- if (m_sOptions.bAutoPos || Utils_RestoreWindowPositionNoSize(pTooltip->GetHandle(), NULL, MODULENAME, "toolwindow"))
+ if (m_sOptions.bAutoPos || Utils_RestoreWindowPositionEx(pTooltip->GetHandle(), RWPF_NOSIZE | RWPF_NOACTIVATE, 0, MODULENAME, "toolwindow"))
pTooltip->set_Position(
WorkAreaRect.right - 10 - (TooltipRect.right-TooltipRect.left),
WorkAreaRect.bottom - 2 - (TooltipRect.bottom-TooltipRect.top));
|