🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: SetClassLong problems

#8925
From: Remy Lebeau (TeamB)
Date: Fri, 03 Sep 2004 23:59
18 lines
1557 bytes
"Lynn Morrison" <Cranky@__whisp.com> wrote in message
news:4138ff19@newsgroups.borland.com...

> Just one question.... what do I do with FOldWndProc?

Nothing really.  It is just good programming practice to keep old resources
that API functions return to you and them restore the old resources when you
are done with them.  This is particular useful to do for windows and GDI
resources (canvases, pens, brushes, etc) in particular.

> I notice that you reference it, but I don't know what it is?

It is a pointer to the old window procedure that was previously assigned to
the window before SetWindowLong() replaced it.


Gambit
Technical Details
Message-ID: <413904eb$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4138cc6a@newsgroups.borland.com> <4138da54$1@newsgroups.borland.com> <4138ff19@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,ce81aceba334526c
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <4138cc6a@newsgroups.borland.com> <4138da54$1@newsgroups.borland.com> <4138ff19@newsgroups.borland.com>
Subject: Re: SetClassLong problems
Date: Fri, 3 Sep 2004 16:59:01 -0700
Lines: 20
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <413904eb$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1094255851 68.69.17.41 (3 Sep 2004 16:57:31 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail