How to add copy and paste functionality for CListCtrl
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
Hello, I have been working on an MFC project that looks like a registry editor which have a treeview on the left side and listview on the right side. Once the user sets focus on one item in the listview and clicks ctrl+c, how do we add a functionality to copy the listview item text into the clipboard? please help.
-
Hello, I have been working on an MFC project that looks like a registry editor which have a treeview on the left side and listview on the right side. Once the user sets focus on one item in the listview and clicks ctrl+c, how do we add a functionality to copy the listview item text into the clipboard? please help.
see CWnd::PreTranslateMessage and use GetKeyState for VK_CONTROL to see if Ctrl key is pressed