Article View: borland.public.cppbuilder.nativeapi
Article #16243Re: Make the active program cut/copy/paste
From: Chris
Date: Thu, 22 May 2003 17:11
Date: Thu, 22 May 2003 17:11
26 lines
2176 bytes
2176 bytes
Thank you for your input, but... I know most of the Win32 API clipboard functions, I've used pretty much all of them. I still haven't found a way to invoke a clipboard cut/copy/paste on another program without using keybd_event, and I can't use that because (trust me) it screws with the keyboard, either it puts keys down when they should be up, or leaves keys up when they should be down, because i have to make it seem like the user let go of the hotkey, and then pressed ctrl-c etc, and then put the buttons back down, but if i check if the buttons were down before that, and put them back down, sometimes they are already put back up by the user, and that causes problems with the keyboard.... "Bob Gonder" <notbg@notmindspring.invalid> wrote in message news:24rpcvkltv996oo0fa80hg4s0p6rlsf009@4ax.com... > "Chris" <Chris8852@adelphia.net> wrote: > > >Do any of you know how I can make the active program cut/copy/paste without > >using the kbd_event function? > > It starts with OpenClipboard() > > Open the WIN32.HLP and type CLIPBOARD at the index. Start reading > there. It's mildly complicated, but not too bad... > >
Technical Details
Message-ID:
<3ecd04e5$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!border3.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<3ecc389a$1@newsgroups.borland.com> <24rpcvkltv996oo0fa80hg4s0p6rlsf009@4ax.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,41b72cf95ca3a5fa X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-05-22 10:21:11 PST From: "Chris" <Chris8852@adelphia.net> Newsgroups: borland.public.cppbuilder.nativeapi References: <3ecc389a$1@newsgroups.borland.com> <24rpcvkltv996oo0fa80hg4s0p6rlsf009@4ax.com> Subject: Re: Make the active program cut/copy/paste Date: Thu, 22 May 2003 13:11:56 -0400 Lines: 28 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 68.65.164.124 Message-ID: <3ecd04e5$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1053623525 68.65.164.124 (22 May 2003 10:12:05 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!border3.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail