🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #940

Re: How can I access the backround (root) window?

#940
From: Mike Deem
Date: Wed, 19 Dec 1990 17:25
8 lines
887 bytes
In article <7734@umd5.umd.edu> dzoey@terminus.umd.edu (Joe Herman) writes:
> Here's what I do:
>	rootfunc = (FARPROC) GetWindowLong (backwin, GWL_WNDPROC);
>	SetWindowLong (backwin, GWL_WNDPROC, (LONG) ProcessRootMsgs);

You need to add your ProcessRootMsgs function to your EXPORTS section of your
.DEF file. You should also use a pointer to your function returned by 
MakeProcInstance as the parameter to SetWindowLong.
Technical Details
Message-ID: <1161@banyan.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!samsung!crackers!jjmhome!banyan!miked
References: <7734@umd5.umd.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!samsung!crackers!jjmhome!banyan!miked
From: miked@banyan.UUCP (Mike Deem@Eng@Banyan)
Newsgroups: comp.windows.ms.programmer
Subject: Re: How can I access the backround (root) window?
Message-ID: <1161@banyan.UUCP>
Date: 19 Dec 90 17:25:28 GMT
References: <7734@umd5.umd.edu>
Reply-To: miked@banyan.UUCP (Mike Deem@Eng@Banyan)
Organization: Banyan Systems, Inc.
Lines: 8