🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Help with Registering Classes

#796
From: John Ciccarelli
Date: Tue, 04 Dec 1990 20:17
18 lines
1214 bytes
In article <4255@media-lab.MEDIA.MIT.EDU> jason@media-lab.MEDIA.MIT.EDU (Jason A. Kinchen) writes:

>Is there any other way I can get local data associated with
>local dialog boxes?

To attach data to *any* window, not just a modal or modeless dialog,
you can use SetProp().  You give it a window handle and a value, which
can be the data itself if it's just a number, or the handle to the 
data.  To get the handle, just call GetProp().  I've used this 
technique extensively since Windows 1.03.

>Jason Kinchen
>jason@media-lab.MIT.EDU


John Ciccarelli
Plexus Software, 5200 Great America Pkwy, Suite 200, Santa Clara CA 95054
email: ...sun!plx!johnc,  voice: 408-982-4842,  fax: 408-727-4864
Technical Details
Message-ID: <2533@plx.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!newstop!sun!plx!plxsun!johnc
References: <4255@media-lab.MEDIA.MIT.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!newstop!sun!plx!plxsun!johnc
From: johnc@plxsun.uucp (John Ciccarelli)
Newsgroups: comp.windows.ms.programmer
Subject: Re: Help with Registering Classes
Summary: Use SetProp/GetProp -- it works
Message-ID: <2533@plx.UUCP>
Date: 4 Dec 90 20:17:59 GMT
References: <4255@media-lab.MEDIA.MIT.EDU>
Sender: usenet@plx.UUCP
Reply-To: sun!plx!johnc (John Ciccarelli)
Organization: Plexus Software, Santa Clara, CA
Lines: 18