🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Using clipboard delayed rendering properly

#4108
From: Bob Gonder
Date: Thu, 16 Mar 2006 17:55
19 lines
1807 bytes
Clayton Arends wrote:

>For the program that I am creating I do not desire the clipboard to be 
>filled when the app exits.  My question is: what is the typical way that 
>programs handle this situation?  Should I ignore the message (return 
>non-zero)?  Should I empty the clipboard before the app closes or during the 
>WM_RENDERALLFORMATS message?

This bit from the help seems to indicate that if you don't render
anything, then the clipboard will just forget agout you.

<Win32.hlp - Delayed Rendering>
Any clipboard formats that are not rendered in response to the
WM_RENDERALLFORMATS message cease to be available to other
applications and are no longer enumerated by the clipboard functions. 
</help>

So it would seem that doing nothing would be fine, but return 0,
processed.
Technical Details
Message-ID: <i99j12hb8262gsums8vviisve75qsstiuf@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <441992c7$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,7724c9adc11ffdfe
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Bob Gonder <notbg@notmindspring.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Using clipboard delayed rendering properly
Date: Thu, 16 Mar 2006 09:55:56 -0800
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <i99j12hb8262gsums8vviisve75qsstiuf@4ax.com>
References: <441992c7$1@newsgroups.borland.com>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 71.49.208.206
X-Trace: newsgroups.borland.com 1142531755 71.49.208.206 (16 Mar 2006 09:55:55 -0700)
Lines: 22
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail