Beispiel #1
0
TreeBox::Node::Node( TreeBox& parentTree, int index ) :
   UIObject( (*API->TreeBox->CreateTreeBoxNode)( ModuleHandle(), this ) )
{
   if ( IsNull() )
      throw APIFunctionError( "CreateTreeBoxNode" );
   if ( !parentTree.IsNull() )
      parentTree.Insert( index, this );
}