[comp.windows.x.motif] middle mouse button used for popups AND selection?

don@zardoz.coral.com (Don Dewar) (01/12/91)

) Return-Path: <uunet!alfalfa.com!motif-request>
) Date: 10 Jan 91 19:07:52 GMT
) From: uunet!rayssd!raybed2!lps  (LYNN SHEA)
) Organization: Raytheon Co., Tewksbury, Mass.
) Subject: middle mouse button used for popups AND selection?
) Sender: uunet!alfalfa.com!motif-request
) To: motif@alfalfa.com
) 
) 
) On a Motif implementation of a spreadsheet we have several pushbuttons and
) text widgets, and depending on which row and column is selected via mouse
) button 1, options on the popup menu invoked by pressing mouse button 2 are
) made sensitive.
) 
) Would it violate accepted Motif style to make pressing the middle button on
) a spreadsheet cell select the item (highlight) as well as pop up the menu?
) Simply having the middle button pop up the menu is not enough because it is
) not clear to the user which item the popup menu entries refer to.  It would
) be nice to have button2 pop up the menu as well as indicate which item the
) mouse is over when the button is pressed.
) 
) Thanks in advance,
) 
) Lynn Shea
) Raytheon Company
) lps@raybed6.msd.ray.com
) (508)858-1912
) 
) 

I am not sure that would "violate" the style guides suggested button
actions.  For starters, it is a style "guide".  It is expected that
there will be applications that will have to do depart from what is in
the style guide because of the nature of the application.  Moreover, I
think in your case you are staying well withing the expectations using
the middle button for your purpose.  The middle button is bringing up
a popup, as a motif use would expect.  A spreadsheet use woule further
realize a need for the popup to be positionally sensitive.

  +---------+
  | Coral   |
  |@@@@@*@**|
  |@@*@@**@@|     Don Dewar
  |*@@**@@@@|     Coral Network Corporation, Marlborough, MA
  |@***@@@@@|     Internet: don@coral.com
  |@@**@@@@@|     Phone:    (508) 460-6010
  |*********|     Fax:      (508) 481-6258
  |Networks |
  +---------+