User Tag List

Results 1 to 3 of 3

Thread: Mouse wheel object? Making zoom using math...

  1. #1
    No Products Registered

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

    Mouse wheel object? Making zoom using math...

    Hi there,

    I'm trying to make a "zoom" using the scale function. I want it to zoom in when the mouse wheel is rolled up and zoom out when the mouse wheel is rolled down. Is this possible?

    I'm also having problems with the zoom... but thats a different story <img src="/center/images/graemlins/wink.gif" alt="" />

    Thanks,
    -Alex

  2. #2
    Clicker Fusion 2.5 Developer

    Join Date
    Jul 2006
    Posts
    271
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Mouse wheel object? Making zoom using math...

    There isn't a specific object for MMF2 which allows you to do this (there was for MMF 1.5), but you can detect mouse wheel scrolling with the WinMessPro object:

    Start of frame
    - Start Intercepting Messages

    On Message of Type 522
    - Set counter (or whatever) to wParam( "WinMessPro" ) / Abs( wParam( "WinMessPro" ) )

    That expression will return either 1 or -1, 1 for when the mouse wheel is scrolled up, and -1 for when it's scrolled down.

  3. #3
    No Products Registered

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

    Re: Mouse wheel object? Making zoom using math...

    Thanks that worked ok <img src="/center/images/graemlins/smile.gif" alt="" />

    Thanks again,
    -Alex

Similar Threads

  1. [Suggestion] Mouse Wheel & Middle Mouse
    By izac in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 10th May 2009, 12:39 PM
  2. Mouse Wheel Grief
    By kungsangun in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 8th April 2008, 07:34 PM
  3. Mouse Wheel?
    By workshop2 in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 9th December 2007, 04:11 AM
  4. Help with Mouse Wheel in Build 244
    By Jaeu in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 7th April 2007, 08:19 PM
  5. Mouse Wheel - can we access it yet?
    By Dines in forum Extension Development
    Replies: 5
    Last Post: 2nd November 2006, 07:16 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
  •