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

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;
             		}
                   }

    }

}

Hello dada,
please see the docs: MessageDialog

@mp5gosu Thank you solved my problem

hello @dada,

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

thanks @mp5gosu for the answer :)

Cheers,
Manuel

MAXON SDK Specialist

MAXON Registered Developer

@m_magalhaes Thank you