🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Help with Registering Classes

#786
From: Jason A. Kinchen
Date: Tue, 04 Dec 1990 14:20
15 lines
1019 bytes
I need local data associated with dialog boxes.  I know about
registering classes with extra bytes associated with the windows
created and then using GetWindowLong and SetWindowLong.  But can I do
this using modeless dialog boxes?

In the SDK Reference Vol. II it talks about using the CLASS directive
in the resource script and setting the cbWndExtra field to
DLGWINDOWEXTRA.  Can I set it to bigger than this?  Has anyone tried
this?  Is there any other way I can get local data associated with
local dialog boxes?

Any help or pointers appreciated.
-- 
Jason Kinchen
jason@media-lab.MIT.EDU
Technical Details
Message-ID: <4255@media-lab.MEDIA.MIT.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!mit-eddie!media-lab!jason

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!mit-eddie!media-lab!jason
From: jason@media-lab.MEDIA.MIT.EDU (Jason A. Kinchen)
Newsgroups: comp.windows.ms.programmer
Subject: Help with Registering Classes
Keywords: Dialog Boxes, Register, Extra Data
Message-ID: <4255@media-lab.MEDIA.MIT.EDU>
Date: 4 Dec 90 14:20:46 GMT
Organization: MIT Media Lab, Cambridge, MA
Lines: 15