Article View: borland.public.cppbuilder.nativeapi
Article #16245Re: Make the active program cut/copy/paste
From: Remy Lebeau (TeamB)
Date: Thu, 22 May 2003 17:18
Date: Thu, 22 May 2003 17:18
13 lines
1769 bytes
1769 bytes
"Chris" <Chris8852@adelphia.net> wrote in message news:3ecd04e5$1@newsgroups.borland.com... > I still haven't found a way to invoke a clipboard cut/copy/paste > on another program without using keybd_event Get the HWND of the foreground window and then send it WM_COPY/WM_CUT/WM_PASTE messages. Yyou may also have to use AttachThreadInput() and GetActiveWindow() in order to get the HWND of the actual active child window within that foreground window. Gambit
Technical Details
Message-ID:
<3ecd05c1$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!38.144.126.76.MISMATCH!feed2.newsreader.com!newsreader.com!newsfeed.media.kyoto-u.ac.jp!diablo.efnet.com!efnet.com!cyclone.bc.net!logbridge.uoregon.edu!arclight.uoregon.edu!wn13feed!wn12feed!worldnet.att.net!216.166.71.14!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> <3ecd04e5$1@newsgroups.borland.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:12 PST From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3ecc389a$1@newsgroups.borland.com> <24rpcvkltv996oo0fa80hg4s0p6rlsf009@4ax.com> <3ecd04e5$1@newsgroups.borland.com> Subject: Re: Make the active program cut/copy/paste Date: Thu, 22 May 2003 10:18:15 -0700 Lines: 15 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: 207.175.226.26 Message-ID: <3ecd05c1$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1053623745 207.175.226.26 (22 May 2003 10:15:45 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!38.144.126.76.MISMATCH!feed2.newsreader.com!newsreader.com!newsfeed.media.kyoto-u.ac.jp!diablo.efnet.com!efnet.com!cyclone.bc.net!logbridge.uoregon.edu!arclight.uoregon.edu!wn13feed!wn12feed!worldnet.att.net!216.166.71.14!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