Author Topic: New Custom entity question!  (Read 1774 times)

0 Members and 1 Guest are viewing this topic.

gswang

  • Newt
  • Posts: 114
New Custom entity question!
« on: September 04, 2011, 04:19:36 AM »
I would like to display in the Properties panel to customize the body of DXF_NAME with different names, as shown below, how to do it? :oops:

gswang

  • Newt
  • Posts: 114
Re: New Custom entity question!
« Reply #1 on: September 04, 2011, 04:26:44 AM »
I use the following code ,but it does not work!

STDMETHOD(ClassName)(BSTR* internal_name, BSTR* display_name)
{
   *display_name = ::SysAllocString(L"FFFF");

   return S_OK;
}