Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python 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
    • Recent
    • Tags
    • Users
    • Login

    Some Questions about BitmapButton

    Scheduled Pinned Locked Moved SDK Help
    4 Posts 0 Posters 344 Views
    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.
    • H Offline
      Helper
      last edited by

      THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

      On 29/10/2008 at 03:04, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   10.5 
      Platform:   Windows  ;   
      Language(s) :     C++  ;

      ---------
      Hi,

      I am very sorry if this has been discussed at length, but I couldn't find the information using the search engine.

      I am trying to construct a toolbar like menu (like the main toolbar in C4D). Since I couldn't find any UI element to use I am guessing it has to be done with CustomGUI elements. BitmapButton looks like a candidate to me, but I just can't figure out how to use it correctly. I found some code snippets in the forums using AddCustomGui(), which works...but I am trying to add the buttons via a resource file. I inserted a BITMAPBUTTON ID {} field, which seems to be parsed without errors, but how do I access the buttons methods (SetImage() etc.?)...am I completely off track here?

      Are there other ways to generate a graphic style button menu in a plugin (besides from using a UserArea and just painting the buttons on there)?

      Many thanks

      Markus

      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

        THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

        On 29/10/2008 at 04:23, xxxxxxxx wrote:

        I found some others posts that instructed to create a toolbar inside C4D and then load it inside the plugin using LoadFile...how to I get my plugin commands to show up in C4Ds palette manager though?

        1 Reply Last reply Reply Quote 0
        • H Offline
          Helper
          last edited by

          THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

          On 29/10/2008 at 08:26, xxxxxxxx wrote:

          I finally found a way to display my BitmapButtons. They show fine and display a previously registered icon.

          Also they have the toggle and button states enabled, they create an event which I can see in Command(). How do I check and set the button's enabled status though? SetBool doesn't seem to work...

          1 Reply Last reply Reply Quote 0
          • H Offline
            Helper
            last edited by

            THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

            On 03/11/2008 at 01:46, xxxxxxxx wrote:

            Please post some code otherwise I can't reproduce your problem.

            cheers,
            Matthias

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