Ok this seems pretty straightforward but how to do this? The edit controls send an EN_KILLFOCUS message, but I can’t really find something similar for the treeview control.
Exact situation: Parent window (a property sheet page) creates a custom control that has a treeview on it (just the plain old SysTreeView32).
My best idea until now is to subclass the control that holds the treeview and the treeview itself, but thats no joy…
The message you are looking for is NM_KILLFOCUS.