Hiding the mouse curser in Max


    Apr 26 2006 | 3:56 am
    I’m trying to find a way to hide the mouse curser at some point during my application and making it re-appear when the mouse is moved by the user.
    Can anyone help?
    Sydney

    • Apr 26 2006 | 4:58 am
      try this
      before trying goto the Max4xTuturialsandtopics.pdf and find the topic: messages to Max. (;pupdate)
      this let you send the global position of cursor.
      the patch:
      1 - detect the window size
      2 - when the "mouse" is in the "red zone"; or when the "time" as gone... i don't know... you send this message: ;pupdate x y
      2a - before sending the mouse out screen, save is position on a int... ou two (x y)
      x is the total horizontal screen size and y the vertical.
      3 - when the mouse moves, send the same mesage but with the x y saved in the INT.
      if the mouse is in the bottom right coner of screen... "disapear"
      i hope this work! :)
    • Apr 26 2006 | 5:03 am
    • Apr 26 2006 | 5:23 am
      the max message
      ;max hidecursor
      and
      ;max showcursor
      hides and shows the mouse pointer. the mousestate object shows the
      pointers position and state.
      the rest should be max logic & patching :)
      v a d e //
      www.vade.info
      abstrakt.vade.info
      I LIVE! I LIVE! I LIVE! I LIVE! I LIVE! I LIVE! I LIVE! I LIVE! I
      LIVE! I LIVE! I LIVE! I LIVE!
      You will not be saved by the Holy Ghost. You will not be saved by the
      God Plutonium.
      In fact, YOU WILL NOT BE SAVED!
    • Apr 26 2006 | 5:32 am
      better by V A D E //
      the max message
      ;max hidecursor
      and
      ;max showcursor
      hides and shows the mouse pointer. the mousestate object shows the
      pointers position and state.
      the rest should be max logic & patching :)
      sory!
    • Apr 26 2006 | 6:04 pm
      Thanks for your answers.
      “;max hidecursor” and “;max showcursor” seem to be the right way to go. The only problem is that at some point during my application “;max hidecursor” stops hiding the mouse!
      I can manually click on a message box with “;max hidecursor” and nothing happens. To get it to work again I need to close max and re-launch.
      The application is quite big and complex so I can’t post it here.
      Has this happened to anyone else?
      Thanks,
      Sydney
    • Apr 26 2006 | 7:48 pm
      hi
      don't know any reason to that.
      probably some bug in MAX or in your patch!!!! (probably in MAX)
      sory but i can't help you!