ListBox with ctrl-c and other ctrl keys.
- From: TonyG <TonyG@xxxxxxxx>
- Date: Tue, 31 Mar 2009 07:39:49 -0500
I have a many line owner-draw list box in my program. I use the "Extended" selection method that allows lines to be highlighted.
How do I trap the ctrl-c key so that I can copy the selected lines to the paste buffer?
Once I have text, how do I put the text into the paste buffer?
It seems the default mechanism for ctrl keys in a list box is to jump to the top most line with that letter. So if you press ctrl-p the selection jumps to the topmost line that begins with a p. How do I disable this?
.
- Follow-Ups:
- Re: ListBox with ctrl-c and other ctrl keys.
- From: AliR \(VC++ MVP\)
- Re: ListBox with ctrl-c and other ctrl keys.
- From: Ajay
- Re: ListBox with ctrl-c and other ctrl keys.
- Prev by Date: Re: How use CCoolMenuManager with TrackPopupMenu?
- Next by Date: Re: Building from existing files - was Bypassing the Conversion Wi
- Previous by thread: Remove docking guides
- Next by thread: Re: ListBox with ctrl-c and other ctrl keys.
- Index(es):