home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!gatech!willis.cis.uab.edu!utkcs2!utkux1.utk.edu!danny@utkux1.utk.edu
- From: danny@utkux1.utk.edu (Danny W. McCampbell)
- Subject: DrawGrowIcon...somethings wrong
- Message-ID: <1992Sep4.144520.7678@utkux1.utk.edu>
- Sender: usenet@utkux1.utk.edu (USENET News System)
- Organization: University of Tennessee
- Date: Fri, 4 Sep 1992 14:45:20 GMT
- Lines: 23
-
- activateEvt:
- begin
- TempLongInt := BitAnd(theEvent.modifiers, $000F);
- if TempLongInt = 1 then
- begin
- HiliteControl(gScrollBarHandle, 0);
- DrawGrowIcon(window);
- end
- else
- begin
- HiliteControl(gScrollBarHandle, 255);
- DrawGrowIcon(window);
- end;
- end;
-
- It's me again. When I use this code to try to hide the DrawGrowIcon
- box and show it I get a Bus Error. From what I understand from
- IM Vol I that when I call DrawGrowIcon when the window is inactive it
- will draw just the outline and actually hide the grow box. Why
- do I get a bus error here?
-
- Danny
- danny@utkux1.utk.edu
-