dblclick? Cannot get to work in Max5 SDK


    Nov 23 2008 | 7:30 pm
    I've used both mousemove and dblclick in an external I am writing and no matter what I cannot seem to get dblclick to register.
    Should I be doing this another way?
    I want to detect a double click with the left mouse button.
    Thanks! Rick

    • Nov 23 2008 | 7:53 pm
      On 23 nov. 08, at 20:30, Rick Burnett wrote: > I've used both mousemove and dblclick in an external I am writing > and no matter what I cannot seem to get dblclick to register. > > Should I be doing this another way?
      void myobject_mousedoubleclick(t_ myobject *x, t_object *patcherview, t_pt pt, long modifiers)
      Roby
    • Nov 23 2008 | 8:03 pm
      "mousedoubleclick" it is. Thanks so much! I do have an additional question, how can you tell which button was double clicked?
    • Dec 04 2008 | 3:15 pm
      You can look at the modifiers parameter. In addition to key modifiers there are eLeftButton, eRightButton, and even eMiddleButton flags.
      Rob