Path: utzoo!attcan!uunet!samsung!know!news.cs.indiana.edu!ariel.unm.edu!cie!jlavin From: jlavin@cie.uoregon.edu (Jeff Lavin) Newsgroups: comp.sys.amiga.programmer Subject: Re: Problems with ReportMouse() Keywords: Window flags Message-ID: <1991Jan23.132312.27596@ariel.unm.edu> Date: 23 Jan 91 13:23:12 GMT References: <1991Jan23.031010.11248@cs.uiuc.edu> Reply-To: jlavin@cie.UUCP (Jeff Lavin) Organization: The Puzzle Factory Lines: 43 In article <1991Jan23.031010.11248@cs.uiuc.edu> schwager@cs.uiuc.edu (Michael Schwager) writes: >Ok, I'm stumped. Sheesh, I can't even get a ReportMouse() to work (Workbench >version 1.3.2 on an A500)! Here's what I've got: > >I set up a NewWindow structure for a backdrop window: > >struct NewWindow BackWindowOrig = { > 0,0, /* left edge, top edge */ > SCR_WIDTH,SCR_HEIGHT, /* width, height */ > -1, -1, /* detailpen, blockpen */ > VANILLAKEY|CLOSEWINDOW /* IDCMP flags */ > |MENUPICK|MOUSEBUTTONS|MOUSEMOVE, > BORDERLESS|WINDOWCLOSE|REPORTMOUSE| > SMART_REFRESH|BACKDROP, /* Window Flags */ > NULL, /* &MyGadget */ /* Gadget */ > NULL, > (UBYTE *) NULL, > NULL, > NULL, > 0,0, /* smallest size */ > SCR_WIDTH, SCR_HEIGHT, /* largest size */ > CUSTOMSCREEN > }; > [stuff deleted] > >So, do I just need more sleep, or what? Why can't I toggle mouse >reportage? Thanks. >-Mike Schwager |"Weapons are the tools of fear; >INTERNET:schwager@cs.uiuc.edu | a decent man will avoid them... >UUCP:{uunet|convex|pur-ee}!uiucdcs!schwager| His enemies are not demons, >BITNET:schwager@mike.cs.uiuc.edu | but human beings like himself...." >University of Illinois, Dept. of Comp. Sci.| -Tao Te Ching, chapter 31 MOUSEMOVE is an IDCMP flag REPORTMOUSE is a Window flag Jeff- The Puzzle Factory, Inc. | Jeff Lavin -- jlavin@cie.uoregon.edu Veneta, Oregon |------------------------------------- Voice : (503) 935-3709 | Remainder of signature line Data : (503) 935-7883 | under construction.