🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: WM_NCPAINT - no region to be had

#16746
From: JD
Date: Sat, 26 Apr 2003 23:20
18 lines
1601 bytes
"Chris" <chris@chrischfmouseyREMOVE.karoo.co.uk> wrote:
> I just tried your code and it worked for me (well after
> removing OldWindowProc( Message )).

How did you remove the OldWindowProc? When I tried that the
form never got displayed?

>The function is called loads of times and
>
>HRGN hrgn = (HRGN) Message.WParam; returns :00000001
>
>when this happens DWORD dwCount = GetRegionData( hrgn, 0, NULL ); returns 0
>and the main block doesn't run.

Could you please be a bit more clear about what is what when?

~ JD
Technical Details
Message-ID: <3eab1440$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!news.maxwell.syr.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <3ea8c4fd$1@newsgroups.borland.com> <3ea93062@newsgroups.borland.com> <3eaa9f2d$2@newsgroups.borland.com> <3eaadb70@newsgroups.borland.com> <3eaafbd2$1@newsgroups.borland.com> <3eab0d33@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,bd52d89ee166c26a
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-04-26 16:53:10 PST
From: "JD" <nospam@nospam.com>
Sender: "JD" <nospam@nospam.com>
Reply-To: "JD" <nospam@nospam.com>
Subject: Re: WM_NCPAINT - no region to be had
Newsgroups: borland.public.cppbuilder.nativeapi
X-User-Info: 172.142.254.33 172.142.254.33    
References: <3ea8c4fd$1@newsgroups.borland.com> <3ea93062@newsgroups.borland.com> <3eaa9f2d$2@newsgroups.borland.com> <3eaadb70@newsgroups.borland.com> <3eaafbd2$1@newsgroups.borland.com> <3eab0d33@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.65
Message-ID: <3eab1440$1@newsgroups.borland.com>
Date: 26 Apr 2003 16:20:32 -0700
X-Trace: newsgroups.borland.com 1051399232 207.105.83.65 (26 Apr 2003 16:20:32 -0700)
Lines: 19
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!news.maxwell.syr.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail