User Tag List

Results 1 to 6 of 6

Thread: Mouse drag detection

  1. #1
    No Products Registered

    Join Date
    Apr 2008
    Location
    Bucharest, Romania
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Mouse drag detection

    Hello,
    I don't know if here is the best place to ask this, but I want to know if there's an elegant way to detect mouse click & drag while also having the simple mouse click behaviour doing something different.
    I'm trying to build an iPhone "emulator" for interface mock-ups and i want to simulate the touch and touch and drag behaviors.
    I found a drag behavior in an example from Greyhill's move by bezier extension, but I'm not afraid to admit that I don't understand how it works, and in the spirit of learning I don't want to just copy/paste it and hope it works for me too.
    If someone could give me a hint, I would be grateful.

    Cheers.

  2. #2
    No Products Registered

    Join Date
    Jun 2006
    Posts
    68
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Mouse drag detection

    Hello. You can try with the DLL Object and see in the "user32.dll" library that have various fuctions of mouse.

  3. #3
    No Products Registered

    Join Date
    Apr 2008
    Location
    Bucharest, Romania
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Mouse drag detection

    Is the Call DLL object still available? Links leading to 3EE site point to an invalid page.
    Anyway, I managed to find a workaround for dragging, but a "start dragging/stop dragging" and mouse delta values for X, Y would've been a ton of help.

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleInstall Creator ProPatch Maker
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    DJFuego's Avatar
    Join Date
    Jul 2006
    Location
    UK
    Posts
    1,416
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Mouse drag detection

    There is a new DLL extension not the old 3EE one.
    Download Fusion Updater and use it. http://www.clickteam.com/FusionUpdater.zip
    You can tell it to grab and install all the latest extensions.

  5. #5
    No Products Registered

    Join Date
    Apr 2008
    Location
    Bucharest, Romania
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Mouse drag detection

    Thanks, I will, seems a handy way to put keep extensions under control.
    I checked user32.dll functions and it seems that Microsoft itself decided to make things complicated and offers mouse delta as "mickeys", which need a strange formula to be converted into pixels.
    A mouse event trigger like "has mouse moved?" would still be nice.

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Popcorn's Avatar
    Join Date
    Jun 2006
    Location
    Norway, Bergen
    Posts
    2,366
    Mentioned
    13 Post(s)
    Tagged
    0 Thread(s)

    Re: Mouse drag detection

    What are you guys on about with dll's? If I didn't misunderstood something you can do all of this with simple events. Check out Novabrain's mousedrag widget in the widget filearchieve for a start

    To detect if the mouse has been moved, always save the mouse positions to counters and simply test if mouse position is different from the saved values.

Similar Threads

  1. Drag & Drop without using Repeat while left mouse-key is pressed
    By drnebula in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 3rd February 2012, 02:02 AM
  2. Drag and Drop Detection
    By legocacher in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 7th March 2011, 10:36 PM
  3. Drag Active using Jaffob's Drag Extension
    By Stephen in forum File Archive
    Replies: 0
    Last Post: 7th April 2009, 12:22 AM
  4. File drag over/drag leave features
    By Ran_TH in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 12th January 2009, 05:22 AM
  5. mouse drag select?
    By crugh in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 11th February 2008, 10:47 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •