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?
Yes, your notify syntax is correct, but it is very strange that you don't get the message in your control...I did something similar once, and it worked fine...are you sure you are not trapping key board
Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information.
Continuing from the first article about sudoku. There we have designed the application and put a lot of user int…
Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers. The PreTranslateMessage function is to be used to intercept and respond to keyboard events.
Continuing from the fourth article about sudoku. …
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below.