comctl32: Block selection change depending on TCN_SELCHANGING result.

This commit is contained in:
Nikolay Sivov 2011-12-26 01:20:54 +03:00 committed by Alexandre Julliard
parent d0ede16ee4
commit fade32b515
1 changed files with 2 additions and 1 deletions

View File

@ -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);