🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Return key in combo boxes.

#865
From: Joel Spolsky
Date: Sat, 08 Dec 1990 22:09
28 lines
1676 bytes
In article <1990Dec7.235148.11968@jarvis.csri.toronto.edu> eric@eecg.toronto.edu (Eric Smith) writes:
>In article <28660006@hpopd.HP.COM> richardh@hpopd.HP.COM (Richard Hancock) writes:
>>/ hpopd:comp.windows.ms.programmer / eric@eecg.toronto.edu (Eric Smith) /  7:43 pm  Dec  6, 1990 /
>>
>>> Moreover, the Guide to Programming explicitly warns
>>> against subclassing predefined window classes (i.e. combo boxes),
>>
>>I've been subclassing edit controls for years (with no ill effects).
>
>Hmmm.  In that case, does anyone know why the Guide warns against
>this practice? 


While it may work in Win3, Microsoft probably does not want to commit
to making it work in Win4, or OS/2 2.0, or other futuristic
platforms... 

Joel Spolsky
spolsky@cs.yale.edu
--
#define GlobalLock(x) x
#define GlobalUnlock(x)               
	-from the MS Windows 5.0 windows.h
NEVER use handles returned from GlobalMalloc as pointers!
	-bold print, page 1, MS Window 5.0 SDK documentation


	
Technical Details
Message-ID: <27676@cs.yale.edu>
Path: arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!samsung!umich!yale!cs.yale.edu!spolsky-joel
References: <1990Dec6.144321.12168@jarvis.csri.toronto.edu> <28660006@hpopd.HP.COM> <1990Dec7.235148.11968@jarvis.csri.toronto.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!samsung!umich!yale!cs.yale.edu!spolsky-joel
From: spolsky-joel@cs.yale.edu (Joel Spolsky)
Newsgroups: comp.windows.ms.programmer
Subject: Re: Return key in combo boxes.
Message-ID: <27676@cs.yale.edu>
Date: 8 Dec 90 22:09:37 GMT
References: <1990Dec6.144321.12168@jarvis.csri.toronto.edu> <28660006@hpopd.HP.COM> <1990Dec7.235148.11968@jarvis.csri.toronto.edu>
Sender: news@cs.yale.edu
Organization: Yale University Computer Science Dept., New Haven, CT 06520-2158
Lines: 28
Nntp-Posting-Host: zoo-gw.cs.yale.edu
Originator: spolsky@suned.CS.Yale.Edu