🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Paste Bitmap to Clipboard

#6918
From: Bob Piskac
Date: Sat, 02 Apr 2005 16:57
12 lines
1481 bytes
I did some reading. I looks like I have to convert it to a dib before I can 
paste it. Is this true?

"Bob Piskac" <bob@pbsoftware.com> wrote in message 
news:424ec137$1@newsgroups.borland.com...
> When I use CreateDIBSection and paste the bitmap to the clip board.  The 
> bitmap is not available for pasting.  Microsoft paint displays an error 
> "Error getting Clipboard Data!".  If I use CreateDIBitmap, it works fine.
>
> My image is a 24 bit bitmap.  Why do I have problems pasting when I use 
> CreateDIBSection? and how do I correct this problem?
> 
Technical Details
Message-ID: <424ecee0$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <424ec137$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,f3863d5f8dfe706b
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Bob Piskac" <bob@pbsoftware.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <424ec137$1@newsgroups.borland.com>
Subject: Re: Paste Bitmap to Clipboard
Date: Sat, 2 Apr 2005 11:57:09 -0500
Lines: 14
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
NNTP-Posting-Host: 68.249.14.21
Message-ID: <424ecee0$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1112461024 68.249.14.21 (2 Apr 2005 08:57:04 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail