Article View: borland.public.cppbuilder.nativeapi
Article #583ClipCursor() and Desktop Rect
From: Renald Yazmir
Date: Fri, 29 Feb 2008 19:14
Date: Fri, 29 Feb 2008 19:14
23 lines
1637 bytes
1637 bytes
Hello I have 2 questions: 1) I am trying to use ClipCursor() function. As the test I just call GetClipCursor(&clip_rect) and then right away I call ClipCursor(&clip_rect). When I start dragging a dialog box I can drag it under the desktop taskbar. Why? 2) Then I am trying to change the clip_rect, to decrease it by the taskbar? I get the desktop window and then desktop rectangle. It turned out that desktop rectangle equals to clip_rect. desktop_hwnd = GetDesktopWindow(); GetWindowRect(desktop_hwnd, &desktop_rect); I get: clip_rect = = desktop_rect How do I get desktop rectangle minus taskbar? Thank you Rony.
Technical Details
Message-ID:
<47c8599b$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,1978beb30802b8a,start X-Google-Attributes: gid10cc67,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Reply-To: "Renald Yazmir" <renald@partmaker.com> From: "Renald Yazmir" <renald@partmaker.com> Newsgroups: borland.public.cppbuilder.nativeapi Subject: ClipCursor() and Desktop Rect Date: Fri, 29 Feb 2008 14:14:27 -0500 Lines: 25 Organization: IMCS Inc X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 66.106.28.123 Message-ID: <47c8599b$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1204312475 66.106.28.123 (29 Feb 2008 11:14:35 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail X-Original-Bytes: 1486