AutoDesk: Thanks for dbl-click reactor. Now we need long-press reactor.

Discussion in 'AutoCAD' started by Steve Adams, Sep 13, 2004.

  1. Steve Adams

    Steve Adams Guest

    We also need these specific events for *individual* mouse buttons.

    Time to catch up with SoftEngine's 1995 technology..... 8^o
     
    Steve Adams, Sep 13, 2004
    #1
  2. Steve Adams

    mataeux Guest

    one alternative is to implement triple-click

    when a double-click reactor fires, wait a few hundred milliseconds to see if a third click occurs. watch out for calling the reactor more than once at a time. i would not suggest quintuple-clicks but i may go as far as a quad-click



    after further development i chose another alternative to the triple-click. divide the screen up into sectors and determine the one in which the double-click occured. it's easy for a user to imagine where the sector boundaries are if it is logically arranged.

    you can conceivably divide the screen into 12 sectors
    each invoking different functions when a double-click occurs.
    _________
    | \__|__/ |
    |_|__|__|_| <- screen (view using fixed width font)
    | |__|__| |
    |/___|___\|

    four quadrants in the center of the screen and 8 around the perimeter are easily selected without actually seeing the boundaries.

    try it!
     
    mataeux, Sep 14, 2004
    #2
  3. Steve Adams

    Steve Adams Guest

    Mataeux,

    Are you telling me to put an "if" statement in my
    reactor: if the click occured in this sector do this-
    if in that sector do that?

    That could be some powerful stuff if I could figure out how to
    implement it.

    Do you have any example code?


    --
    Thanks,
    Steve (Acad2005 Vanilla SP1)


    one alternative is to implement triple-click

    when a double-click reactor fires, wait a few hundred milliseconds to see if a third click occurs. watch out for calling the reactor more than once at a time. i would not suggest quintuple-clicks but i may go as far as a quad-click



    after further development i chose another alternative to the triple-click. divide the screen up into sectors and determine the one in which the double-click occured. it's easy for a user to imagine where the sector boundaries are if it is logically arranged.

    you can conceivably divide the screen into 12 sectors
    each invoking different functions when a double-click occurs.
    _________
    | \__|__/ |
    |_|__|__|_| <- screen (view using fixed width font)
    | |__|__| |
    |/___|___\|

    four quadrants in the center of the screen and 8 around the perimeter are easily selected without actually seeing the boundaries.

    try it!
     
    Steve Adams, Sep 14, 2004
    #3
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.