Article View: borland.public.cppbuilder.nativeapi
Article #17729"On Screen Display" but how?
From: Mikael Halvarsson
Date: Mon, 03 Mar 2003 23:11
Date: Mon, 03 Mar 2003 23:11
16 lines
1611 bytes
1611 bytes
Hi, I'm interested in implementing an OSD (On Screen Display). Typically a green text that displays some text at the bottom of the screen and disappears after a second. But I cannot figure out on how to do this. I've been lurking on maybe creating an simple "Always on top" window and then display a text inside it but I dont know how to make the window "transparent" and clickthrou and still show a text inside it. Also tried to get the DC for the whole screen and then just use a TextOut or similiar APIs to display a text on the screen, but this feels really lame and it requires to be redrawn very frequently. So any suggestions or links on this topic would really be appreciated by me. -mikael
Technical Details
Message-ID:
<3e63e111$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer2.atl.newshosting.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,1f4116df6f1756e4 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-03-04 12:32:02 PST From: "Mikael Halvarsson" <invalid@mail.com> Newsgroups: borland.public.cppbuilder.nativeapi Subject: "On Screen Display" but how? Date: Tue, 4 Mar 2003 00:11:15 +0100 Lines: 18 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: 193.10.108.139 Message-ID: <3e63e111$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1046733073 193.10.108.139 (3 Mar 2003 15:11:13 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer2.atl.newshosting.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail