Article View: borland.public.cppbuilder.nativeapi
Article #7380Re: bool IsLaptop() {/* Can the laptop be recognized? */}
From: Remy Lebeau (TeamB)
Date: Mon, 14 Feb 2005 18:46
Date: Mon, 14 Feb 2005 18:46
16 lines
1492 bytes
1492 bytes
"Vladimir Stefanovic" <antivari@po.sbb.co.yu> wrote in message news:4210e31f@newsgroups.borland.com... > Can the laptop be recognized somehow? Why do you need this? As far as the OS is concerned, a laptop and a desktop are the same (except that a laptop has extra power management features available, etc). As far as writing an application, it will run the exact same whether it is run on a desktop or a laptop. If you want to take power management into account, for instance, then simply add a message handler to your code for the WM_POWERBROADCAST message. Gambit
Technical Details
Message-ID:
<4210f13f$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news1.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4210e31f@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,c36954a06e8243a7
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: <4210e31f@newsgroups.borland.com>
Subject: Re: bool IsLaptop() {/* Can the laptop be recognized? */}
Date: Mon, 14 Feb 2005 10:46:50 -0800
Lines: 18
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: <4210f13f$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1108406591 68.69.17.41 (14 Feb 2005 10:43:11 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news1.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail