Path: utzoo!attcan!uunet!husc6!mailrus!chianti!shane From: shane@chianti.cc.umich.edu (Shane Looker) Newsgroups: comp.sys.mac.programmer Subject: Non-function Cmd Keys with DA Message-ID: <584@mailrus.cc.umich.edu> Date: 22 Jul 88 22:33:47 GMT References: <5005@husc6.harvard.edu> Sender: usenet@mailrus.cc.umich.edu Reply-To: shane@um.cc.umich.edu (Shane Looker) Organization: University of Michigan Computing Center, Ann Arbor Lines: 29 I'm completely stumped on this one. I've written a DA which puts up a menu which has a number of items. I can select the About box by hitting Cmd-A or I can close the DA with Cmd-Q. I also have Cmd-O to open a window. (Up to 5 windows right now.) As soon as I bring up a window (Cmd-O or mouse selection), my Cmd keys go dead. I can still use the mouse to select the menu items, and they work, but no Cmd Keys. Possibly relevant points. I am not attaching the first window to the Device Control Entry filed for the DA Window. I had stuffed a dummy window in there but it made no difference. (Possibly related bug, I could not make that window invisible. I created the window with NewWindow and explicitly made it invis. I also called HideWindow as soon as it made the window. Something outside the DA is making the window visible!) All this is being done in Lightspeed C 3.0. When I try to debug the DA with the debugger, it appears that SystemEvent is claiming that it handles the event (which it should I think), but my DA never gets called with the menu selection. The DA behaves the same way if I open it with Suitcase (not under MF), or if I build it into an application to use with the debugger. Any help would be greatly appreciated. Shane Looker Looker@um.cc.umich.edu