Search code examples
c++listviewmfclistboxclistctrl

how can i cancel editing in CListCtrl by hitting the "cancel" key?


I'm editing an item in CListCtrl control. an edit box appears where I can enter text.
The event of entering the text will, however, not be catched by the LVN_KEYDOWN handler.
how do I catch it otherwise? any samples?
Thank you


Solution

  • Hitting ESC does cancels editing the label of CListCtrl so what is the "Cancel" key exactly?