2017-01-23 65 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)); 

}