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

    AddProgressGadget

    Scheduled Pinned Locked Moved SDK Help
    3 Posts 0 Posters 309 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 25/03/2011 at 04:39, xxxxxxxx wrote:

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

      ---------
      hi,
       
      I use AddProgressGadget in my dialog plugin with R11.5 sdk
       
      but i don't find AddProgressGadget in r12 sdk.
       
      Is it does not support in r12 sdk ?

      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 25/03/2011 at 06:14, xxxxxxxx wrote:

        It's now a subclass of the Dialog class (see R12 documentation). Imo a very bad solution and works odd but that's how it's done in r12.

        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 31/03/2011 at 05:49, xxxxxxxx wrote:

          Please check teh PROGRESSBAR dialog resource element.

          Little example.

          resource file

            
          DIALOG DLG_LISTVIEW  
          {  
            NAME TDLG;  
            SCALE_H;SCALE_V;  
              
            GROUP  
            {  
                PROGRESSBAR MY_PROGRESS_BAR_ID { SIZE -100,-20; }  
            }      
          }  
          

          code

            
          ...  
            
          Bool ListViewDialog::CreateLayout(void)  
          {  
            // first call the parent instance  
            Bool res = GeDialog::CreateLayout();  
            
            res = LoadDialogResource(DLG_LISTVIEW,NULL,0);  
            
            return res;  
          }  
            
          Bool ListViewDialog::InitValues(void)  
          {  
            // first call the parent instance  
            if (!GeDialog::InitValues()) return FALSE;  
            
            BaseContainer msg(BFM_SETSTATUSBAR);  
            msg.SetBool(BFM_STATUSBAR_PROGRESSFULLSIZE, TRUE);  
            msg.SetBool(BFM_STATUSBAR_PROGRESSON, TRUE);  
            msg.SetReal(BFM_STATUSBAR_PROGRESS, 0.5);  
            
            SendMessage(MY_PROGRESS_BAR_ID, msg);  
            
            
            return TRUE;  
          }  
            
          ...  
          

          cheers,
          Matthias

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