comctl32: Block selection change depending on TCN_SELCHANGING result.
This commit is contained in:
parent
d0ede16ee4
commit
fade32b515
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue