Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

allow copy from listbox to clipboard

Posted on 1997-11-03
1
Medium Priority
?
586 Views
Last Modified: 2013-11-20
I am using MSVC 4.2 and W95. I want to allow the user to
mark text in a listbox and copy it to the clipboard. I
hope I do not have to go ownerdraw, because I like the
smooth scrolling in the default listbox. Can I do this
easily, and how ?
0
Comment
Question by:genew
1 Comment
 
LVL 23

Accepted Solution

by:
chensu earned 400 total points
ID: 1309269
There is no direct function to do so. What you can do is:
1. Use CListBox::GetText to get the text string.
2. Use Clipboard functions to copy it to the clipboard.

If you need further help, please let me know.

0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
In this post we will learn different types of Android Layout and some basics of an Android App.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question