Path: utzoo!attcan!uunet!husc6!think!ames!hc!lanl!cmcl2!vx2!spector From: spector@vx2.GBA.NYU.EDU (David HM Spector) Newsgroups: comp.sys.mac.programmer Subject: Re: Non-function Cmd Keys with DA Message-ID: <6860009@vx2.GBA.NYU.EDU> Date: 23 Jul 88 00:48:00 GMT References: <584@mailrus.cc.umich.edu> Organization: New York University Lines: 22 What exactly is the code you are using the handle the keydown event? You might take a look at (my) generic C DA for LightSpeedC which is in the Info-Mac archives on Sumex-Aim... it handles command keys, et al. Its DA-LSCGENERIC.HQX I think... The window stuff _shouldn't be important, just make sure you put (some one correct me if I'm wrong!) a nil WindowPtr there... otherwise the window manager and its friends might get a bit upset. Since you're using THINKC (I've got to remeber to say that :-) you can keep the window stuff in an array and do all the updating work by hand... David ------------------------------------------------------------------------------- David HM Spector New York University Senior Systems Programmer Graduate School of Business Arpa: SPECTOR@GBA.NYU.EDU Academic Computing Center UUCP:...!{allegra,rocky,harvard}!cmcl2!spector 90 Trinity Place, Rm C-4 HamRadio: N2BCA MCIMail: DSpector New York, New York 10006 AppleLink: D1161 CompuServe: 71260,1410 (212) 285-6080 "What computer puts out work like this?" "Hire us and we'll tell you." XYZZYGLORP