🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Bitmap GetObject

#2110
From: Bruce Salzman
Date: Thu, 05 Apr 2007 19:39
15 lines
1379 bytes
"poojo hackma" <poojo.com/mail> wrote in message 
news:4613f4bc@newsgroups.borland.com...
> Could someone look at my use of GetObject and tell me what I am 
> doing wrong? Could you suggest a way to fix it?
>
>  // In the GetObject below, if hBMP is to a JPEG file,
>  // other areas of my application get overwritten.
>  // Does anyone know why?
>  ok = bitmap.GetObject(ok, &BMP);

Why not use GetBitmap()?

-- 
Bruce 
Technical Details
Message-ID: <4615504b$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder3.cambrium.nl!feed.tweaknews.nl!newsfeed.kamp.net!newsfeed.kamp.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4613f4bc@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,cc67b7c92694fec8
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: " Bruce Salzman" <bruce@nospam.org>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <4613f4bc@newsgroups.borland.com>
Subject: Re: Bitmap GetObject
Date: Thu, 5 Apr 2007 14:39:39 -0500
Lines: 17
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3028
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.3028
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 75.86.154.191
Message-ID: <4615504b$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1175801931 75.86.154.191 (5 Apr 2007 12:38:51 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder3.cambrium.nl!feed.tweaknews.nl!newsfeed.kamp.net!newsfeed.kamp.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail