🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #36507

Re: A plea for help

#36507
From: Bob Hablutzel
Date: Thu, 19 Jan 1989 13:49
24 lines
1615 bytes
Marty Sirkin writes:

> I am a brand new Mac programmer with a very strange problem.  I wrote a
> simple program shell (in Think Pascal) to do basic menu/window/mouse/keyboard
> interface.  Some of the code was taken from the Chernicoff (sp?) book, and
> some is my own.

> I wrote the program shell on a Mac 2, and it worked just fine.  I have 
> discovered, though, that it does have a problem running on other machines
> (I've tried it on two Mac Se, and two other Mac 2's).  The program itself
> (run either as an application, or in the compiler's integrated environment)
> runs just great.  When I leave it, however, double cliking for ALL other
> programs is disabled.  Single clicking and menu clicks (also single) work
> just great.

  Is it possible you are changing the event mask? In particular, if you are
disabling the mouse-up events, later programs will not be able to get the last
time the mouse button comes up, which is a common means of getting the start
time for timing double clicks. If you disable events in the event mask, you
should make sure to restore them before you exit.


Bob Hablutzel	Wildwood Software	BOB@NUACC.ACNS.NWU.EDU
Technical Details
Message-ID: <10330115@accuvax.nwu.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!ncis!helios.ee.lbl.gov!nosc!ucsd!ucbvax!agate!bionet!csd4.milw.wisc.edu!nic.MR.NET!shamash!tank!nucsrl!accuvax.nwu.edu!bob
References: <6977@june.cs.washington.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!ncis!helios.ee.lbl.gov!nosc!ucsd!ucbvax!agate!bionet!csd4.milw.wisc.edu!nic.MR.NET!shamash!tank!nucsrl!accuvax.nwu.edu!bob
From: bob@accuvax.nwu.edu (Bob Hablutzel)
Newsgroups: comp.sys.mac
Subject: Re: A plea for help
Message-ID: <10330115@accuvax.nwu.edu>
Date: 19 Jan 89 13:49:17 GMT
References: <6977@june.cs.washington.edu>
Organization: Northwestern U, Evanston IL, USA
Lines: 24