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
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Bitmapbutton Toggle

    Scheduled Pinned Locked Moved SDK Help
    2 Posts 0 Posters 218 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 26/08/2006 at 23:30, xxxxxxxx wrote:

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

      ---------
      Okay, I give. How do you make a Bitmapbutton toggle and toggle a bitmapbutton? So far, I either get no 'border' toggle or just a plain momentary-switch (regular button). SetToggleState() isn't working for me - and I've tried:

      bc.SetBool(BITMAPBUTTON_BUTTON, TRUE);
      bc.SetBool(BITMAPBUTTON_TOGGLE,     TRUE);

      bc.SetBool(BITMAPBUTTON_BUTTON, FALSE);
      bc.SetBool(BITMAPBUTTON_TOGGLE,     TRUE);

      bc.SetBool(BITMAPBUTTON_BUTTON, TRUE);
      bc.SetBool(BITMAPBUTTON_TOGGLE,     FALSE);

      bc.SetBool(BITMAPBUTTON_BUTTON, FALSE);
      bc.SetBool(BITMAPBUTTON_TOGGLE,     FALSE);

      According to my logic tables, there ain't no more permutations here. 😉

      Does the border have to be forcibly changed to indicate the toggle state?

      Thanks,

      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 27/08/2006 at 09:00, xxxxxxxx wrote:

        Nevermind on that. I see that the borders are either static or bouncy - so best to use two-state images, one with the border out, the other with the border in.

        Thanks,

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