Article View: be.comp.programming
Article #7770Re: bepalen positie/afmeting taskbar
From: Jos
Date: Sat, 24 Aug 2002 09:37
Date: Sat, 24 Aug 2002 09:37
13 lines
1538 bytes
1538 bytes
"edg" <edg@skynet.be> schreef in bericht news:3d67419d$0$191$ba620e4c@news.skynet.be...
> Beste,
> weet er iemand hoe ik via winapi de postitie+afmetingen van de taskbar kan
> te weten komen? Ik gebruik bcb5 als programma.
HWND taskbarHandle=FindWindow("Shell_TrayWnd",NULL);
RECT rect;
GetWindowRect(taskbarHandle,&rect);
Label1->Caption=IntToStr(rect.left)+"-"+IntToStr(rect.top)+"/"+
IntToStr(rect.right)+"-"+IntToStr(rect.bottom);
Joe
Technical Details
Message-ID:
<itI99.1950$%c2.268428386@hebe.telenet-ops.be>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-04!supernews.com!iad-peer.news.verio.net!news.verio.net!skynet.be!skynet.be!ossa.telenet-ops.be!hebe.telenet-ops.be.POSTED!not-for-mailReferences:
<3d67419d$0$191$ba620e4c@news.skynet.be>Show Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit X-Google-Thread: fcea4,57ff282ff69b7819 X-Google-Attributes: gidfcea4,public X-Google-ArrivalTime: 2002-08-24 02:47:42 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-04!supernews.com!iad-peer.news.verio.net!news.verio.net!skynet.be!skynet.be!ossa.telenet-ops.be!hebe.telenet-ops.be.POSTED!not-for-mail From: "Jos" <josnospambranders@fastmail.fm> Newsgroups: be.comp.programming References: <3d67419d$0$191$ba620e4c@news.skynet.be> Subject: Re: bepalen positie/afmeting taskbar Lines: 15 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: <itI99.1950$%c2.268428386@hebe.telenet-ops.be> Date: Sat, 24 Aug 2002 09:37:18 GMT NNTP-Posting-Host: 213.118.218.31 X-Complaints-To: abuse@telenet.be X-Trace: hebe.telenet-ops.be 1030181838 213.118.218.31 (Sat, 24 Aug 2002 11:37:18 CEST) NNTP-Posting-Date: Sat, 24 Aug 2002 11:37:18 CEST Organization: Telenet Internet