2017-01-23 62 views

回答

1

作为一种变通方法,您可以隐藏dataAreaId并显示在状态栏

static void statusLineText(Args _args) 
{ 
    str  companyName = CompanyInfo::find().Name; 
    ; 

    xUserInfo::statusLine_CustomText(true); 
    infolog.writeCustomStatlineItem(companyName); 
} 
0

自定义文本还可以显示在标题栏中的公司名称。 Info类中的修改workspaceWindow创建方法:

void workspaceWindowCreated(int _hWnd) 
{ 
    super(_hWnd); 

    WinAPI::setWindowText(_hWnd, strFmt("%1 - %2", curext(), xDataArea::find(curext()).name)); 

}