Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Setting mouse position

    Cinema 4D SDK
    3
    4
    718
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • WickedPW
      WickedP
      last edited by

      Hi folks,

      a couple of questions, and a feedback comment.

      1. How can I set the mouse position BFM_INPUT_X/Y? I'm wanting to do this inside a user area Input() and MouseDrag() loop. Trying to get something like the viewport move/zoom/rotate icons:
        f682bbb4-b0d4-4c4e-aebf-f4cdf8aaf694-image.png

      2. And on those viewport icons, do they have a registered ID? I can't find them in the customise commands list. Would like to consider using the icons inside my own dialog for user familiarity.

      Feedback: on a different note, I see this has been brought up before, but the search pages in this forum are getting unbearable. The amount of scrolling one needs to do to sift through some result pages is just ridiculous. I know the website is probably using a plugin to drive the forum, but can the developers please add some custom CSS to override this. All the search result boxes need are a minimise/maximise toggle, with the default being minimised, and the search pages will become a much more friendly place to work with again.

      WP.

      wickedp.com

      1 Reply Last reply Reply Quote 0
      • i_mazlovI
        i_mazlov
        last edited by

        Hi @WickedP,

        Thank you for reaching out to us.

        1. The BFM_INPUT_X/Y parameters can be used to get corresponding values. There's no such interface that provides the functionality to set mouse coordinates.

        2. The icons can be found with IDs: HOTKEY_CAMERA_MOVE, HOTKEY_CAMERA_SCALE and HOTKEY_CAMERA_ROTATE. All icons with the corresponding IDs can be found in the icons list.

        Regarding the scrolling on the search pages. You're right that it was already discussed before, thank you for bringing this topic up. The issue is noted and might be improved in the future, however, there's no settled plan for this that I'm aware of.

        Thanks for your understanding.

        Cheers,
        Ilia

        MAXON SDK Specialist
        developers.maxon.net

        1 Reply Last reply Reply Quote 0
        • ferdinandF
          ferdinand
          last edited by ferdinand

          Hey @everyone,

          I spent some time on the CSS of the search results, making them a bit more readable. There are limitations to what can be done due to how NodeBB sets up its search results. Hopefully, this form helps the people who disliked the verbose results of NodeBB.

          There will certainly be people who want the direct opposite, i.e., very verbose results. The common way to implement that would be an option in the user preferences but we do not have the resources for that. So, I picked a hover-based solution, trying to make all parties at least a bit happy; but which is a little bit clunky UI-wise.

          ca3dcb72-1199-430a-8082-36b089e616ef-image.png

          Cheers,
          Ferdinand

          MAXON SDK Specialist
          developers.maxon.net

          1 Reply Last reply Reply Quote 0
          • ferdinandF ferdinand referenced this topic on
          • WickedPW
            WickedP
            last edited by WickedP

            @i_mazlov thanks for posting the link to the icon resource page listing. Have bookmarked it.

            Thanks @ferdinand, I noticed the CSS change. It's made scrolling through what were large pages more digestible and quicker. Hopefully I haven't upset too many others. But appreciated from my end.

            Post edit: I know this topic was about setting the mouse position, but seems like that's an OS level thing for now. So have marked topic as solved.

            wickedp.com

            1 Reply Last reply Reply Quote 0
            • First post
              Last post