diff options
author | George Hazan <ghazan@miranda.im> | 2018-06-14 16:55:24 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-06-14 16:55:24 +0300 |
commit | 6b496830f33360555adad192c4342d92bda458b1 (patch) | |
tree | 5a33de4f0b964596625fa34341d30a269be68b64 /plugins | |
parent | 2b5922a413634e236585bc9039450974f8ab2268 (diff) |
WA_INACTIVE to be also passed to the current child
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;
}
|