Article View: borland.public.cppbuilder.nativeapi
Article #1478Re: Vista & DrawAnimatedRects
From: JD
Date: Fri, 10 Aug 2007 23:02
Date: Fri, 10 Aug 2007 23:02
21 lines
1602 bytes
1602 bytes
Kris <x@x.com> wrote:
>
>TRect BoundsRect, TrayRect;
>BoundsRect = Application->MainForm->BoundsRect;
>::GetWindowRect(::FindWindowEx(::FindWindow("Shell_TrayWnd", NULL),
>NULL, "TrayNotifyWnd", NULL), &TrayRect );
That code looks familure <g>
>Depending on the animation I need I use:
>DrawAnimatedRects(Handle,IDANI_CAPTION, &BoundsRect, &TrayRect );
>or
>DrawAnimatedRects(Handle,IDANI_CAPTION, &TrayRect, &BoundsRect);
I was able to reproduce the problem on XP by changing the HWND
parameter but like Bob, don't have Vista either. The docs say
that the HWND is used for clipping so my best guess is Vista
just doesn't like your 'Handle' parameter.
~ JD
Technical Details
Message-ID:
<46bcee7b$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!club-internet.fr!feedme-small.clubint.net!194.25.134.62.MISMATCH!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<46bc4487$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,fb86ab6d2f5d603a X-Google-Attributes: gid10cc67,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "JD" <nospam@nospam.com> Sender: "JD" <nospam@nospam.com> Reply-To: "JD" <nospam@nospam.com> Subject: Re: Vista & DrawAnimatedRects Newsgroups: borland.public.cppbuilder.nativeapi X-User-Info: 205.188.116.144 X-Forwarded-For: 172.167.176.157 References: <46bc4487$1@newsgroups.borland.com> NNTP-Posting-Host: 207.105.83.66 Message-ID: <46bcee7b$1@newsgroups.borland.com> Date: 10 Aug 2007 16:02:19 -0700 X-Trace: newsgroups.borland.com 1186786939 207.105.83.66 (10 Aug 2007 16:02:19 -0700) Lines: 22 Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!club-internet.fr!feedme-small.clubint.net!194.25.134.62.MISMATCH!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail