diff options
-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));
|