🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #14262

Re: removing window from the chain of clipboard viewers.

#14262
From: Remy Lebeau (TeamB)
Date: Tue, 19 Aug 2003 17:00
27 lines
1688 bytes
"ICEMAN" <iceman@icecity.com> wrote in message
news:3f41e448@newsgroups.borland.com...
> how to remove a window that has been added to the chain
> of clipboard viewers using SetClipboardViewer Function ?

Use the ChangeClipboardChain() function, ie:

    HWND hNextViewer = NULL;
    ...
    hNextViewer = SetClipboardViewer(Handle);
    ...
    ChangeClipboardChain(Handle, hNextViewer);

Don't forget to handle the WM_CHANGECBCHAIN message as well, if you are not
already.


Gambit




---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/03
Technical Details
Message-ID: <3f42560e$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <3f41e448@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,7cbc895be2c58201
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-08-19 09:56:29 PST
From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3f41e448@newsgroups.borland.com>
Subject: Re: removing window from the chain of clipboard viewers.
Date: Tue, 19 Aug 2003 10:00:22 -0700
Lines: 29
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.1106
NNTP-Posting-Host: 207.175.226.26
Message-ID: <3f42560e$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1061312014 207.175.226.26 (19 Aug 2003 09:53:34 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail