Posted on 1997-10-09
I've got a CTreeCtrl with the TVS_EDITLABELS style in a modal dialog. When I'm editing a label, and presses TAB, I get the TVN_ENDLABELEDIT notification as expected.
I want the same thing to happen when I press return.
But if I press return when I'm editing a label, I only get a beep.
How can I make pressing the return key finish the label editing?