I use CTreeCtrl and I want to catch TVN_SELCHANGING event.
If I use one selection, TVN_SELCHANGING is run. But if I set TVS_EX_MULTISELECT ex_style, TVN_SELCHANGING is not processed.
What is the reason? What to do with it?
I use CTreeCtrl and I want to catch TVN_SELCHANGING event.
If I use one selection, TVN_SELCHANGING is run. But if I set TVS_EX_MULTISELECT ex_style, TVN_SELCHANGING is not processed.
What is the reason? What to do with it?
The
TVS_EX_MULTISELECTstyle preventsTVN_SELCHANGINGfrom being sent for unknown reasons.TVN_ITEMCHANGINGis sent however and you can use that to fakeTVN_SELCHANGINGin your own window procedure: