🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: WM_NCPAINT & clipping

#16825
From: Ed Mulroy [TeamB]
Date: Fri, 25 Apr 2003 12:55
14 lines
1554 bytes
When you receive the WM_NCPAINT message the wParam argument is a handle to
the region to be painted.  All non-client paint messages give you a
rectangular region and a call to GetRegionData can be used to find the
rectangular coordinates of the area to be painted.  The part of the
nonclient area to not be painted is the part of the area for which you have
not received a message requesting that it be painted.

.  Ed

> JD wrote in message
> news:3ea8c4fd$1@newsgroups.borland.com...
>
> Could someone please show me how to determine what
> part of the nonclient area should not be painted?
Technical Details
Message-ID: <3ea93062@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-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3ea8c4fd$1@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-25 06:02:37 PST
From: "Ed Mulroy [TeamB]" <ed@mulroyREMOVETHESECHARS.org>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3ea8c4fd$1@newsgroups.borland.com>
Subject: Re: WM_NCPAINT & clipping
Date: Fri, 25 Apr 2003 08:55:40 -0400
Lines: 16
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: 206.228.162.65
Message-ID: <3ea93062@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1051275362 206.228.162.65 (25 Apr 2003 05:56:02 -0700)
X-Authenticated-User: edmulroy
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail