🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Global data segments for edit controls

#644
From: Tracy Elmore
Date: Sat, 17 Nov 1990 05:07
15 lines
1190 bytes
Has anyone succeeded in creating edit controls that have their own data
segment?  (I'm talking about edit control windows, not the controls inside
dialog boxes.)  
I have some examples from MS Online on how to do this, and I 
can almost get it to work, except... The problem is that when I try to 
subclass the edit control, and try to use EM_GETHANDLE, EM_SETHANDLE, they
dont seem to work.  I think thats because they are looking in the wrong
segment for the buffer handle, but I'm not sure.

This is the big snag in the program that I'm working on, so if anyone has
anyu suggestions I would greatly appreciate it.

Thanks in advance,

Alex Zeltser
Technical Details
Message-ID: <8995@pasteur.Berkeley.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!haven!ames!pasteur!cory.Berkeley.EDU!tracy

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!haven!ames!pasteur!cory.Berkeley.EDU!tracy
From: tracy@cory.Berkeley.EDU (Tracy Elmore)
Newsgroups: comp.windows.ms.programmer
Subject: Global data segments for edit controls
Message-ID: <8995@pasteur.Berkeley.EDU>
Date: 17 Nov 90 05:07:07 GMT
Sender: news@pasteur.Berkeley.EDU
Reply-To: tracy@cory.Berkeley.EDU (Tracy Elmore)
Organization: University of California, Berkeley
Lines: 15