From unistein@isbe.ch  Wed Oct 14 02:07:56 1998
X-VM-v5-Data: ([nil nil nil nil t nil nil nil nil]
	[nil "Wed" "14" "October" "1998" "11:03:47" "+0200" "Peter Steiner" "unistein@isbe.ch" "<98Oct14.110840gmt+0200.36871-2@limes.isbe.ch>" "51" "Re: wheel-mouse operations" "^From:" nil nil "10" nil nil nil nil]
	nil)
Received: from isbe.ch (ns.isbe.ch [194.209.78.10]) by june.cs.washington.edu (8.8.7+CS/7.2ju) with ESMTP id CAA02378; Wed, 14 Oct 1998 02:03:31 -0700
Received: by limes.isbe.ch id <36871-2>; Wed, 14 Oct 1998 11:08:40 +0200
Message-Id: <98Oct14.110840gmt+0200.36871-2@limes.isbe.ch>
References: <FFE5E0265352D211BFCA00805FC7D02B04F8E5@USAMCMS1> <3.0.1.32.19981010023451.0074d820@pop.hol.fr> <199810140355.UAA25069@joker.cs.washington.edu>
In-Reply-To: <199810140355.UAA25069@joker.cs.washington.edu>
X-Mailer: Forte Agent 1.5/32.451
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by june.cs.washington.edu id CAA02378
From: unistein@isbe.ch (Peter Steiner)
To: Geoff Voelker <voelker@cs.washington.edu>
Cc: ntemacs-users@cs.washington.edu
Subject: Re: wheel-mouse operations
Date: Wed, 14 Oct 1998 11:03:47 +0200

Geoff wrote on Wed, 14 Oct 1998 05:51:58 +0200:

> I have added these bits to the FAQ at:
> 
> http://www.cs.washington.edu/homes/voelker/ntemacs.html#intelli-problems
> 
> I would like to fix these problems for the next release, though.  I
> skimmed through the Intellimouse SDK for any changes since the initial
> release that might cause these problems, but I couldn't immediately
> find any.  However, I'm not familiar with these devices, and could
> easily have overlooked something.  Is there anyone out there who
> understands what has changed since the devices initially appeared such
> that it requires these "compatibility mode" options to be used, and
> what should be changed in the event handling to use the devices
> without the compatibility options?  (Also note that I do not have one
> of these devices...)
> 
> -geoff

You made me have a look. The first thing I looked at was the Logitech
Helpfile. There are some notes that make me feel a little bit sick ;-)

"If you use Microsoft® Office 97(TM) compatible applications
extensively, you might wish to select the Office 97 Compatible Scroll
feature for smoother scrolling."

Note that I happily could avoid installing Office 97 to my PC. But all
these things about MS don't help us further...

More helpful facts: I looked at the output of Spy++ in a wheel-aware
application (seems that most are?)

- An Office 97 compatible wheel turn (one step) triggers a
  WM_MOUSEACTIVATE followed by a
  WM_MOUSEWHEEL

- A "default" wheel turn triggers 
  WM_INITMENUPOPUP
  WM_NCHITTEST
  WM_VSCROLL with SB_LINEDOWN
    (as many times as specified in mouse properties)
  WM_VSCROLL with SB_ENDSCROLL

I left out the WM_PAINT messages. If you need more detailed behaviour
report of my mouse wheel, let me know!

Peter

--
Peter Steiner
unistein@isbe.ch

