Path: utzoo!yunexus!geac!syntron!jtsv16!uunet!munnari!basser!frankng From: frankng@basser.oz (Frank Ng) Newsgroups: comp.sys.mac Subject: Possible Bugs in Think C 3.0 Keywords: bugs, Think C, Menu Manager, windowKind Message-ID: <1524@basser.oz> Date: 9 Oct 88 22:23:27 GMT Article-I.D.: basser.1524 Organization: Dept. of Comp. Science, Uni of Sydney, Australia Lines: 41 Here are 2 (possible) problems in Think C v3.0 (I won't call them bugs since they may or may not be): 1) The Debugger. Every time I interrupt my program to get to the Debugger, it changes the windowKind field of my program's windows to userKind. This is a wrong assumption on the Debugger's part, IM-I page 276 states: "UserKind represents a window created directly by application calls to the Window Manager; for such windows the application can in fact set the window class to any value greater than 8 if desired" I use the windowKind field to differentiate between windows owned by different modules in my application. At least they could have documented this *feature* in the manual! (I use the window's refCon for other things, so don't tell me to use it instead) 2) PopUpMenuSelect I don't know whether this is a bug in the MacTraps library or in the the Mac II ROMs Menu Manager. I am writing a MDEF for a popup menu. When the MDEF gets called with a message of hPopUpMsg (3), the coordinates of hitPt (top left of PopUpItem) are passed to the MDEF the wrong way around. That is, the right-hand word of the Point contains the vertical coordinate, and the left-hand word contains the horizontal coordinate. Could someone please verify these happenings? -- Frank Ng ACSnet: frankng@basser.oz Department of Computer Science ARPA: frankng%basser.oz@uunet.uu.net University of Sydney NSW 2006 UUCP: uunet!munnari!basser.oz!frankng AUSTRALIA