diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/TabSRMM/src/container.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/TabSRMM/src/container.cpp b/plugins/TabSRMM/src/container.cpp index 75d43b60f5..434132d3d3 100644 --- a/plugins/TabSRMM/src/container.cpp +++ b/plugins/TabSRMM/src/container.cpp @@ -1322,6 +1322,14 @@ panel_found: if (LOWORD(wParam) != WA_ACTIVE) {
pContainer->MenuBar->Cancel();
+
+ int curItem = TabCtrl_GetCurSel(hwndTab);
+ if (curItem >= 0) {
+ TCITEM item;
+ tci.mask = TCIF_PARAM;
+ TabCtrl_GetItem(hwndTab, curItem, &item);
+ SendMessage((HWND)item.lParam, WM_ACTIVATE, WA_INACTIVE, 0);
+ }
break;
}
|