Article View: borland.public.cppbuilder.nativeapi
Article #958Add to global cut/copy/cpste
From: Denville Longhurst
Date: Wed, 21 Nov 2007 23:20
Date: Wed, 21 Nov 2007 23:20
25 lines
1902 bytes
1902 bytes
Hi I guess this is an api issue... How could I add a menu item to the global right-click menu that offers copy, cut, paste, etc. ? The requirement is thus: the user is within any arbitrary application eg reading an email etc. I would like it to be possible to right-click and in addition to the normal cut/copy/paste etc options, there be a new option 'copy to my app'. My app would then grab a copy of the selected text (presumably from the clipboard, which I know how to do) and do something with it, perhaps in the background. I know I can do it using normal copy and paste, but I would like to make it easier for the user by not having to then select my app, position the mouse in a memo or whatever, and finally select paste. If I can't add a menu item (easily), could I get a notification when the user clicks on Copy, then pop up a sub-menu, offering eg 'Copy to Clipboard' and 'Copy to My App' ?? Many thanks, Denville.
Technical Details
Message-ID:
<4744bd52$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!club-internet.fr!feedme-small.clubint.net!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,88d98c22f84e49ec,start X-Google-Attributes: gid10cc67,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "Denville Longhurst" <denville@metco.co.uk> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Add to global cut/copy/cpste Date: Wed, 21 Nov 2007 23:20:53 -0000 Lines: 27 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 82.8.28.29 Message-ID: <4744bd52$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1195687250 82.8.28.29 (21 Nov 2007 15:20:50 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!club-internet.fr!feedme-small.clubint.net!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail