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

    KDZ Setting PIXEL size of BitmapButton...

    SDK Help
    0
    3
    272
    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
      Helper
      last edited by

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

      On 22/06/2004 at 19:01, xxxxxxxx wrote:

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

      ---------
      When I use AddCustomGui(.,.,.,.,minw,minh,.), if I use positive values, it uses the same values as SIZE (based upon font), but if I use negative values it does weird things (like making the dialog as large as my 1600x1200 screen when the button should only 100x100 pixels).

      So, how can you set the Pixel size of a BitmapButton?

      Thanks,
      Robert

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

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

        On 22/06/2004 at 22:06, xxxxxxxx wrote:

        Nowadays I think you should use SizePix() or SizeChr() for those values. (Hm, I can see how it would have been nice to say this in the documentation... 🙂

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

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

          On 22/06/2004 at 22:34, xxxxxxxx wrote:

          😉 Definitely. Nonetheless, this is a good thing to know!! 🙂

          Thank you once again, Mikael.

          Robert

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