MFC: Copy/Paste from toolbar when using EditLabel in a CListView/CListCtrl

45 views Asked by At

I have a CFormView with a CListView, when using CListView::EditLabel() you can right click and paste, or highlight and copy. However the toolbar has copy/paste disabled. What is the appropriate way to handle that and have the copy/paste work via the toolbar ?

I know I can use ON_UPDATE_COMMAND_UI to get the enabled, but when enabled they don't copy/paste when editing a label on the CListView.

Thanks.

0

There are 0 answers