🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #12491

Re: UpdateLayeredWindow API

#12491
From: Remy Lebeau (TeamB)
Date: Tue, 09 Dec 2003 03:10
24 lines
1817 bytes
"nicolasr" <nicolasrNOSPAMATSIGNgmx.net> wrote in message
news:3fd52398@newsgroups.borland.com...

> So, is UpdateLayeredWindow usable for standard GUI apps at all?

Doubtful, especially since MSDN also says the following:

    "For best drawing performance by the layered window and any underlying
windows, the layered window should be as small as possible."

And also:

    "Using a layered window can significantly improve performance and visual
effects for a window that has a complex shape, animates its shape, or wishes
to use alpha blending effects."

Those qualifications are not very likely to be applied to entire GUI
applications (unless you were doing skinning or special effects).
UpdateLayeredWindow() is best used for displaying individual animated
controls, windows with complex shapes, or windows with special effects.


Gambit
Technical Details
Message-ID: <3fd53c05$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3fd5198f@newsgroups.borland.com> <3fd51e99$1@newsgroups.borland.com> <3fd52398@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,6f6df602111fe7f8
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-12-08 19:09:23 PST
From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3fd5198f@newsgroups.borland.com> <3fd51e99$1@newsgroups.borland.com> <3fd52398@newsgroups.borland.com>
Subject: Re: UpdateLayeredWindow API
Date: Mon, 8 Dec 2003 19:10:22 -0800
Lines: 27
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 67.23.78.224
Message-ID: <3fd53c05$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1070939141 67.23.78.224 (8 Dec 2003 19:05:41 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail