Article View: borland.public.cppbuilder.nativeapi
Article #10322Re: Application title bar replace
From: Remy Lebeau (TeamB)
Date: Sat, 24 Apr 2004 20:09
Date: Sat, 24 Apr 2004 20:09
20 lines
1627 bytes
1627 bytes
"Netdevel" <netdevel@netdevel.net.nz> wrote in message
news:408a391b@newsgroups.borland.com...
> Hi Remy, ty, where could I see a wrking example ?
void __fastcall TForm1::WndProc(TMessage &Message)
{
if( Message.Msg == WM_NCPAINT )
{
HRGN hRgn = reinterpret_cast<HRGN>(Message.WParam);
// draw on the Canvas as needed, within the hRgn area
Message.Result = 0;
}
else
TForm::WndProc(&Message);
}
Gambit
Technical Details
Message-ID:
<408acae2$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!ecngs!feeder.ecngs.de!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<40866986@newsgroups.borland.com> <4086abdf$1@newsgroups.borland.com> <408787ca@newsgroups.borland.com> <40881eaa@newsgroups.borland.com> <408a391b@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,b57b8ceacd1bc1b2 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2004-04-24 13:39:28 PST From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <40866986@newsgroups.borland.com> <4086abdf$1@newsgroups.borland.com> <408787ca@newsgroups.borland.com> <40881eaa@newsgroups.borland.com> <408a391b@newsgroups.borland.com> Subject: Re: Application title bar replace Date: Sat, 24 Apr 2004 13:09:15 -0700 Lines: 22 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.22.138.253 Message-ID: <408acae2$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1082837730 67.22.138.253 (24 Apr 2004 13:15:30 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!ecngs!feeder.ecngs.de!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail