Article View: borland.public.cppbuilder.nativeapi
Article #44Re: Some HDC questions
From: Remy Lebeau (TeamB)
Date: Wed, 06 Aug 2008 16:37
Date: Wed, 06 Aug 2008 16:37
11 lines
1417 bytes
1417 bytes
"UO" <uo@uott> wrote in message news:48995465$1@newsgroups.borland.com... > Anyway, should I use a ReleaseDC() or something after > "hdc = reinterpret_cast<HDC>(wParam);" ? No. The sender of the message owns that HDC and will release it accordingly after the WM_PAINT message handler exits. Gambit
Technical Details
Message-ID:
<4899d63c$3@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder.news-service.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<489877b5$1@newsgroups.borland.com> <489892df$1@newsgroups.borland.com> <4898a6fd$1@newsgroups.borland.com> <4898bd3c$1@newsgroups.borland.com> <48995465$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,fa1b3304c969ec75 X-Google-Attributes: gid10cc67,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <489877b5$1@newsgroups.borland.com> <489892df$1@newsgroups.borland.com> <4898a6fd$1@newsgroups.borland.com> <4898bd3c$1@newsgroups.borland.com> <48995465$1@newsgroups.borland.com> Subject: Re: Some HDC questions Date: Wed, 6 Aug 2008 09:37:34 -0700 Lines: 13 Organization: Lebeau Software X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-RFC2646: Format=Flowed; Response X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 NNTP-Posting-Host: 207.178.157.90 Message-ID: <4899d63c$3@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1218041404 207.178.157.90 (6 Aug 2008 09:50:04 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder.news-service.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail