Article View: borland.public.cppbuilder.nativeapi
Article #8548Using Regions
From: JD
Date: Wed, 13 Oct 2004 08:57
Date: Wed, 13 Oct 2004 08:57
10 lines
1209 bytes
1209 bytes
My understanding is that when one creates a region and then uses SetWindowRgn is that windows takes ownership of the region and that one should not then use DeleteObject to free that region. Can any one please confirm that if SetWindowRgn is called again on the same HWND with a different HRGN, that windows deletes the object or if I have to do it myself? ~ JD
Technical Details
Message-ID:
<416cedf8$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!sn-xit-04!sn-xit-05!sn-xit-14!supernews.com!38.144.126.76.MISMATCH!feed2.newsreader.com!newsreader.com!newshosting.com!nx02.iad01.newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,648735482f2c2ce6,start X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "JD" <nospam@nospam.com> Sender: "JD" <nospam@nospam.com> Reply-To: "JD" <nospam@nospam.com> Subject: Using Regions Newsgroups: borland.public.cppbuilder.nativeapi X-User-Info: 172.138.48.198 NNTP-Posting-Host: 207.105.83.66 Message-ID: <416cedf8$1@newsgroups.borland.com> Date: 13 Oct 2004 01:57:28 -0700 X-Trace: newsgroups.borland.com 1097657848 207.105.83.66 (13 Oct 2004 01:57:28 -0700) Lines: 11 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!sn-xit-04!sn-xit-05!sn-xit-14!supernews.com!38.144.126.76.MISMATCH!feed2.newsreader.com!newsreader.com!newshosting.com!nx02.iad01.newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail