|
-
March 22nd, 2010, 04:19 AM
#1
How to select text in mouse click event?
Hi,
How do I select a part of text in by click and dragging in the textbox in VC++? Which event do I need to choose? Please help on this.
Thanks
-
March 22nd, 2010, 12:39 PM
#2
Re: How to select text in mouse click event?
There is no support in MFC for drag and drop. But there are a couple of COM interfaces for that, IDropTarget, IDropSource, and IDataObject. Maybe this article can help you: http://msdn.microsoft.com/en-us/magazine/cc163915.aspx.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|