Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

copy CListView contents to clipboard

Status
Not open for further replies.

bwysocki

Programmer
Sep 19, 2001
38
US
Hello all,

Is there a way to copy the contents of a CListView window to the clipboard? I'd like to be able to highlight some or all of my data and copy it to the clipboard. But I'm facing two problems.

1) The data is in multiple columns, and I can only highlight one column.

2) copying doesn't work.

In digging around the classwizard for my view I added a OnEditCopy() event which gets called now when I hit Ctrl-C. But I'm a little foggy as to what to put in the function.

Thanks for your help..
Bob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top