文章作者:里海
简介:
修改Biock UI的标题
效果:
代码:
//方法1
PropertyList* dialogPropertyList = theDialog->TopBlock()->GetProperties();
dialogPropertyList->SetString("Label", value);
delete dialogPropertyList;
dialogPropertyList = NULL;
//方法2
PropertyList* dialogPropertyList = theDialog->TopBlock()->FindBlock("Dialog")->GetProperties();
dialogPropertyList->SetString("Label", value);
delete dialogPropertyList;
dialogPropertyList = NULL;