comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Capturing Ctrl+c
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Capturing Ctrl+c [message #79450] Sun, 26 February 2012 00:01
Percy Pugwash is currently offline  Percy Pugwash
Messages: 12
Registered: January 2012
Junior Member
On Feb 26, 12:09 am, Percy Pugwash <percy.pugw...@gmail.com> wrote:
> I would like to be able to capture the content of a draw widget to
> clipboard. I plan to do this using the handy Coyote CLIPBOARD
> procedure.
>
> However, I'd really like to do this using the well-known Ctrl+c
> keyboard shortcut, and there seems to be a problem with this. Whether
> I set the draw widget's KEYBOARD_EVENTS keyword to 1 or 2, I don't
> seem to get an event generated by the Ctrl+c keyboard combination,
> even though I do get events for each key if pressed separately.
>
> Is this perhaps because Windows already intercepts this key
> combination, and prevents it reaching the draw widget? If so, is there
> anything I can do to get it back, since using this combination would
> be by far the most convenient way to introduce clipboard copy
> functionality.
>
> P

OK, I feel a bit silly now. The exact functionality I require is built
into IDL! I presume I just have to make sure that my draw widget is
the current window, and then Ctrl-C causes the contents of that Window
to be copied to the clipboard. Somehow I think I'd got into the habit
of thinking that things in IDL are usually a bit harder than that...
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Capturing Ctrl+c
Next Topic: Re: Cumulative max() in *arbitrary* dimension?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 18:53:08 PDT 2025

Total time taken to generate the page: 0.00360 seconds