Article View: borland.public.cppbuilder.nativeapi
Article #17680Re: "On Screen Display" but how?
From: Mikael Halvarsson
Date: Wed, 05 Mar 2003 15:12
Date: Wed, 05 Mar 2003 15:12
22 lines
1656 bytes
1656 bytes
I was thinking using of raw API calls, I will try your tips. Thanks -mikael "Remy Lebeau (TeamB)" <gambit47@yahoo.com> wrote in message news:3e63e7c9@newsgroups.borland.com... > Are you wanting to do this with raw API only or with a VCL form? Either > way, give the window the WS_EX_TRANSPARENT extended style, and then create a > second window as a child that contains the actual text. > > In API terms, use the CreateWindowEx() function for the main window and then > CreateWindow() with the "STATIC" class name for the text. > > In VCL terms, override the form's inherited CreateParams() method to include > WS_EX_TRANSPARENT in the ExStyle field, and then use a TLabel for the text. > > > Gambit
Technical Details
Message-ID:
<3e6613e5@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3e63e111$1@newsgroups.borland.com> <3e63e7c9@newsgroups.borland.com>Show 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-05 07:26:55 PST From: "Mikael Halvarsson" <invalid@mail.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3e63e111$1@newsgroups.borland.com> <3e63e7c9@newsgroups.borland.com> Subject: Re: "On Screen Display" but how? Date: Wed, 5 Mar 2003 16:12:41 +0100 Lines: 24 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.105.217 Message-ID: <3e6613e5@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1046877157 193.10.105.217 (5 Mar 2003 07:12:37 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail