🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Paste Bitmap to Clipboard

#6917
From: Bob Piskac
Date: Sat, 02 Apr 2005 15:58
6 lines
1148 bytes
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: <424ec137$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,f3863d5f8dfe706b,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Bob Piskac" <bob@pbsoftware.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Paste Bitmap to Clipboard
Date: Sat, 2 Apr 2005 10:58:55 -0500
Lines: 8
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
NNTP-Posting-Host: 68.249.14.21
Message-ID: <424ec137$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1112457527 68.249.14.21 (2 Apr 2005 07:58:47 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail