Article View: borland.public.cppbuilder.nativeapi
Article #5423Re: Detect double click on open desktop
From: Remy Lebeau (TeamB)
Date: Wed, 24 Aug 2005 17:11
Date: Wed, 24 Aug 2005 17:11
15 lines
1365 bytes
1365 bytes
"tinyabs" <nospam@me.com> wrote in message news:430ca207$1@newsgroups.borland.com... > Desktop has a handle of 0 No, it does not. It has its own handle like any other window. The Win32 API has a GetDesktopWindow() function to retreive that handle. > (GetDC() == 0). That is a Device Context (aka canvas), not a window handle. Gambit
Technical Details
Message-ID:
<430caa64$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!feeder.xsnews.nl!tudelft.nl!txtfeed2.tudelft.nl!newsfeed.multikabel.nl!newsfeeder.wxs.nl!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<430c6c1a.359747@forums.borland.com> <430ca207$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,ec88276a6c031b1d X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <430c6c1a.359747@forums.borland.com> <430ca207$1@newsgroups.borland.com> Subject: Re: Detect double click on open desktop Date: Wed, 24 Aug 2005 10:11:47 -0700 Lines: 17 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 68.69.17.41 Message-ID: <430caa64$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1124903524 68.69.17.41 (24 Aug 2005 10:12:04 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!feeder.xsnews.nl!tudelft.nl!txtfeed2.tudelft.nl!newsfeed.multikabel.nl!newsfeeder.wxs.nl!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail