Rune
Joined: 14 Mar 2007 Posts: 24 Location: Norway
|
Posted: Wed 3 Dec 11:30:46 2008 Post subject: |
|
|
Yes, you can create new UIObjects from the CreateNewObject(); function.
In other words, make a library, override
virtual CDPObject* CreateNewObject(const std::string& type);
in that function do:
if(type=="UIObjectSpecial")
return new UIObjectSpecial; _________________ Best Regards,
Rune Espeseth
Industrial Control Design AS |
|