🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Reading clipboard formats

#15885
From: Remy Lebeau (TeamB)
Date: Fri, 06 Jun 2003 03:36
17 lines
1637 bytes
"Chris" <Chris8852@adelphia.net> wrote in message
news:3ee007c9$1@newsgroups.borland.com...

> Project raised an exception class EInvalidGraphic
> with message 'Unsupported clipboard format'.

Checking TBitmap's source code, it turns out that it really does only
support CF_BITMAP specifically.  However, when working with the CF_BITMAP
format, TBitmap works with the bitmap data as a DIB anyway.

Nothing in the native VCL even touches the CF_DIB format at all.  In
CF_BITMAP is not good enough for you, then you'll just have to read and
format the clipboard data manually before passing it to the TImage.


Gambit
Technical Details
Message-ID: <3ee00b9c$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3edfd042$1@newsgroups.borland.com> <3edfd439@newsgroups.borland.com> <3ee007c9$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,ffc98a5b3b8ea52c
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-06-05 20:37:51 PST
From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3edfd042$1@newsgroups.borland.com> <3edfd439@newsgroups.borland.com> <3ee007c9$1@newsgroups.borland.com>
Subject: Re: Reading clipboard formats
Date: Thu, 5 Jun 2003 20:36:58 -0700
Lines: 19
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: <3ee00b9c$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1054870428 207.175.226.26 (5 Jun 2003 20:33:48 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail