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

    Highlight Hover on GeDialog Buttons?

    Cinema 4D SDK
    python r21
    3
    4
    733
    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.
    • B
      bentraje
      last edited by

      Hi,

      Is it possible to have highlight hover on GeDialog Buttons like the same with pop-up menus?
      You can see what I am after in this illustration.
      https://www.dropbox.com/s/dvk3mghn2s2ox8t/c4d141_highlight_hovered_button.mp4?dl=0

      As a background, I cannot use pop-up menus because I was aiming for multi column and multi row display of the commands.

      Is there a way around this?

      Thank you for looking at my problem

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

        Hi,

        I am not aware of any methods to do this out of the box. For GeUserAreas you can listen for BFM_GETCURSORINFO in the hosting GeDialog to react to mouse over events. I assume these are also being sent for BUTTON gadgets. The problem is: You have no control over the drawing process of a BUTTON gadget.

        So you probably have to - as I already hinted at in your first posting - implement your buttons yourself with a GeUserArea if you want to get extra-fancy 😉

        Cheers
        zipit

        MAXON SDK Specialist
        developers.maxon.net

        1 Reply Last reply Reply Quote 1
        • ManuelM
          Manuel
          last edited by

          hello,

          you can't really do that with a button.
          The BitmapButton have a toggle state as you can see here but it's not a "mouse over" and you can change the image.

          Or if you need your effect, you can use a GeUserArea, we have an example of a fade in the C++ documentation

          Cheers,
          Manuel

          MAXON SDK Specialist

          MAXON Registered Developer

          1 Reply Last reply Reply Quote 1
          • B
            bentraje
            last edited by

            @zipit and @m_magalhaes

            Thanks for the confirmation. Will close this thread for now. Will just ask separate question on GeUserAreas.

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