Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!asuvax!noao!arizona!naucse!rlm From: rlm@naucse.cse.nau.edu (Rich Muller) Newsgroups: comp.sys.mac.programmer Subject: HiLite Mode Help wanted Keywords: Hilite Mode Message-ID: <3201@naucse.cse.nau.edu> Date: 24 Jan 91 06:19:32 GMT Organization: Hampshire College, Amherst, MA Lines: 31 Inside mac says (V-61) that I should use highlighting instead of inversion to select objects. Fine. In a window created with gWindow = getNewCWindow() I have the code InvertRect(&gHTR); which works fine except that it simply (surprise!!) inverts the rectangle. Preceding it with BitClr((Ptr)HiliteMode, pHiliteBit); which is what I _think_ IM says to do, produces a crash. Actually, IM says to do BitClr(Ptr(HiliteMode, pHiliteBit)); which can't be right, since BitClr requires two arguments. Is my Pascal-to-C translation off? Do I need to do some other magic before using BitClr()? Pls respond by e-mail, since I don't read this list regularly. And thanks!! Rich Muller rlm@naucse.cse.nau.edu