🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: UpdateLayeredWindow API

#12488
From: nicolasr
Date: Tue, 09 Dec 2003 01:21
17 lines
1715 bytes
thanks Remy,
that answers many of my questions. However, when I have
a simple GUI, say a form with one button, how would I get
this to work with UpdateLayeredWindow()?

If I'm correct I would have to let the form (including the
button) paint to my buffer bitmap and then call UpdateLayeredWindow.

Now if the button gets pressed I would have to update again, correct?
But where do I notice that the button was pressed? Ok, I could use
WM_LBUTTONDOWN message in this case but this would mean I had to
update whenever the button changes its appearance and the like for
all other controls I use...
So, is UpdateLayeredWindow usable for standard GUI apps at all?

regards,
Nick
Technical Details
Message-ID: <3fd52398@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newshosting.com!news-xfer1.atl.newshosting.com!news-out.visi.com!petbe.visi.com!ash.uu.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <3fd5198f@newsgroups.borland.com> <3fd51e99$1@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 17:36:46 PST
From: "nicolasr" <nicolasrNOSPAMATSIGNgmx.net>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3fd5198f@newsgroups.borland.com> <3fd51e99$1@newsgroups.borland.com>
Subject: Re: UpdateLayeredWindow API
Date: Tue, 9 Dec 2003 02:21:22 +0100
Lines: 19
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: 80.133.161.182
Message-ID: <3fd52398@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1070932888 80.133.161.182 (8 Dec 2003 17:21:28 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newshosting.com!news-xfer1.atl.newshosting.com!news-out.visi.com!petbe.visi.com!ash.uu.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail