🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: WM_NCPAINT - no region to be had

#16749
From: JD
Date: Sun, 27 Apr 2003 01:58
26 lines
1998 bytes
"Chris" <chris@chrischfmouseyREMOVE.karoo.co.uk> wrote:
>
>"JD" <nospam@nospam.com> wrote in message
>news:3eab1440$1@newsgroups.borland.com...
>>
>> How did you remove the OldWindowProc? When I tried that the
>> form never got displayed?
>>
>
>I just commented it out, I assumed that OldWindowProc is your code and of
>course I did not write such a function on my test.

It never occured to me that someone looking at my code wouldn't
know that I had replaced the forms WindowProc. What's it
called? Overloaded? OldWindowProc is the default WindowProc.

> [...] I created a message map in the header and then dropped
> your code snippet into the unit file.

All of the code samples that I googled upon replaced the
default WindowProc as I did. What's the difference with using a
message map? Shouldn't I expect the same results? May I see the
map that you used?

~ JD
Technical Details
Message-ID: <3eab394a$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!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> <3eab1440$1@newsgroups.borland.com> <3eab1f63@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 19:02:02 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.154.177.201 172.154.177.201    
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> <3eab1440$1@newsgroups.borland.com> <3eab1f63@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.65
Message-ID: <3eab394a$1@newsgroups.borland.com>
Date: 26 Apr 2003 18:58:34 -0700
X-Trace: newsgroups.borland.com 1051408714 207.105.83.65 (26 Apr 2003 18:58:34 -0700)
Lines: 27
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail