Article View: borland.public.cppbuilder.multimedia
Article #682Re: TMediaPlayer and TImage
From: Marcelo R. Lopez, Jr.
Date: Tue, 15 Apr 2003 17:55
Date: Tue, 15 Apr 2003 17:55
17 lines
1928 bytes
1928 bytes
If you've assigned the TMediaPlayer to TCanvas. Then you could conceivably get the Window Handle and do a GetBitmapBits() on the actual display. HOWEVER, realize one thing, that the MediaPlayer is really using the Client AREA of the canvas as it's drawing space, and in reality, what's being displayed may very well be just like a hole punched in a piece of paper, you see what's through the hole, and not what's actually on the canvas. Though I think you should be able to do it... "MikeS" <mps1ect@bolton.ac.uk> wrote in message news:3e76d7c5$1@newsgroups.borland.com... > > I am trying to capture a still image from the display of a TMediaPlayer Component and put it onto a TImage Canvas but all i seem to be able to get is the image of the object TMedia is displaying on or if i take a screenshot it comes out black i would be very greatfull if someone could help me
Technical Details
Message-ID:
<3e9c4607$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!newsfeed.gamma.ru!Gamma.RU!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3e76d7c5$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d0fc,411a7c99ebfe84e4 X-Google-Attributes: gid10d0fc,public X-Google-ArrivalTime: 2003-04-15 10:52:07 PST Reply-To: "Marcelo R. Lopez, Jr." <marcelol@directvinternet.com> From: "Marcelo R. Lopez, Jr." <marcelol@directvinternet.com> Newsgroups: borland.public.cppbuilder.multimedia References: <3e76d7c5$1@newsgroups.borland.com> Subject: Re: TMediaPlayer and TImage Date: Tue, 15 Apr 2003 13:55:05 -0400 Lines: 19 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 64.221.40.13 Message-ID: <3e9c4607$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1050428935 64.221.40.13 (15 Apr 2003 10:48:55 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!newsfeed.gamma.ru!Gamma.RU!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail