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
    • Register
    • Register
    • Login

    I want to use C + + to implement GUI. Messagedialog(‘no sel’) in Python I don't know how to start

    Cinema 4D SDK
    sdk c++
    3
    6
    698
    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.
    • D
      dada
      last edited by Manuel

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

      ![alt text](aa.gif image url)
      I want to use C + + to implement a small prompt box shown in the figure above
      我的C++代码:

      Bool DADA_ToolSet_Dialog::Command(Int32 id, const BaseContainer & msg)
      {
          switch (id)
          {
      
      	case(ID_DADA_Point_TO_Circle):
      		{
      			BaseDocument *doc = GetActiveDocument();
      			BaseObject *obj1 = doc->GetActiveObject();
      			String name = obj1->GetName();			
      			if (obj1 == NULL)
      			{
      			    break;
                   		}
                         }
      
          }
      
      }
      
      1 Reply Last reply Reply Quote 0
      • D
        dada
        last edited by

        @dada said in I want to use C + + to implement GUI. Messagedialog(‘no sel’) in Python I don't know how to start:

        Cinema 4D Version: 21

        1 Reply Last reply Reply Quote 0
        • M
          mp5gosu
          last edited by mp5gosu

          Hello dada,
          please see the docs: MessageDialog

          D 1 Reply Last reply Reply Quote 1
          • D
            dada @mp5gosu
            last edited by

            @mp5gosu Thank you solved my problem

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

              hello @dada,

              for your next thread, please use the question functionnality and add some tag to your post. More information on those thread.

              • Q&A New Functionality.
              • How to Post Questions especially the tagging part.

              thanks @mp5gosu for the answer 🙂

              Cheers,
              Manuel

              MAXON SDK Specialist

              MAXON Registered Developer

              D 1 Reply Last reply Reply Quote 0
              • D
                dada @Manuel
                last edited by

                @m_magalhaes Thank you

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