🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Copy Windows HBITMAP to TJPEGImage

#12514
From: Remy Lebeau (TeamB)
Date: Tue, 09 Dec 2003 23:04
16 lines
1364 bytes
"Salvador Huertas" <none@none> wrote in message
news:3fd64a88@newsgroups.borland.com...

> I have a native bitmap object of type HBITMAP i would like
> copy into a object of type TJPEGImage, but i don't know the way.

You need to assign the HBITMAP to a TBitmap first, then you can Assign() the
TBitmap to the TJPEGImage.

> I would like not use the vlc Canvas property for do this change.

TJPEGImge does not have a Canvas property.


Gambit
Technical Details
Message-ID: <3fd655d5$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3fd64a88@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,1cf20b3efd1da9f
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-12-09 15:09:32 PST
From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3fd64a88@newsgroups.borland.com>
Subject: Re: Copy Windows HBITMAP to TJPEGImage
Date: Tue, 9 Dec 2003 15:04:59 -0800
Lines: 18
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: 67.23.78.224
Message-ID: <3fd655d5$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1071011285 67.23.78.224 (9 Dec 2003 15:08:05 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail