diff --git a/dlls/comctl32/tab.c b/dlls/comctl32/tab.c index 374d4ee2776..ad27b8a18d5 100644 --- a/dlls/comctl32/tab.c +++ b/dlls/comctl32/tab.c @@ -684,7 +684,8 @@ TAB_LButtonDown (TAB_INFO *infoPtr, WPARAM wParam, LPARAM lParam) break; } - TAB_SendSimpleNotify(infoPtr, TCN_SELCHANGING); + if (TAB_SendSimpleNotify(infoPtr, TCN_SELCHANGING)) + return 0; if (pressed) TAB_DeselectAll (infoPtr, FALSE);