summaryrefslogtreecommitdiff
path: root/plugins/TopToolBar/src/toolbar.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-02-04 14:57:59 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-02-04 14:57:59 +0000
commitc16e8e071b0b84bfb4ed58d22779e3052b8407d3 (patch)
treee83a4eb5fa8857170b789fd0b0db4faf7b0896d6 /plugins/TopToolBar/src/toolbar.cpp
parent7e1f3d714aa1cfd09293b5b7da949460ee983fad (diff)
fix for always visible TopToolBar frame
fixes #74 git-svn-id: http://svn.miranda-ng.org/main/trunk@3421 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TopToolBar/src/toolbar.cpp')
-rw-r--r--plugins/TopToolBar/src/toolbar.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/TopToolBar/src/toolbar.cpp b/plugins/TopToolBar/src/toolbar.cpp
index dde3ee5134..eabd252d17 100644
--- a/plugins/TopToolBar/src/toolbar.cpp
+++ b/plugins/TopToolBar/src/toolbar.cpp
@@ -538,7 +538,7 @@ int OnIconChange(WPARAM wParam, LPARAM lParam)
if (g_ctrl->hWnd) {
g_ctrl->bOrderChanged = true;
- PostMessage(g_ctrl->hWnd, TTB_UPDATEFRAMEVISIBILITY, TRUE, 0);
+ PostMessage(g_ctrl->hWnd, TTB_UPDATEFRAMEVISIBILITY, 0, 0);
}
return 0;
@@ -564,7 +564,7 @@ int OnPluginLoad(WPARAM wParam, LPARAM lParam)
{
CallPluginEventHook((HINSTANCE)lParam, hTTBModuleLoaded, 0, 0);
if (g_ctrl->hWnd && g_ctrl->bOrderChanged)
- PostMessage(g_ctrl->hWnd, TTB_UPDATEFRAMEVISIBILITY, TRUE, 0);
+ PostMessage(g_ctrl->hWnd, TTB_UPDATEFRAMEVISIBILITY, 0, 0);
return 0;
}
@@ -587,7 +587,7 @@ int OnPluginUnload(WPARAM wParam, LPARAM lParam)
if (bNeedUpdate) {
ArrangeButtons();
if (g_ctrl->hWnd)
- PostMessage(g_ctrl->hWnd, TTB_UPDATEFRAMEVISIBILITY, TRUE, 0);
+ PostMessage(g_ctrl->hWnd, TTB_UPDATEFRAMEVISIBILITY, 0, 0);
}
}
return 0;