AX 最顶部工作区间窗口文本修改

修改Class\Info\method\workspaceWindowCreated;

void workspaceWindowCreated(int _hWnd)
{
// Put workspace window specific initialization here.
   
    str curtxt;
   SysSqlSystemInfo systemInfo = SysSqlSystemInfo::construct();       
    ;

    curtxt = WinAPI::getWindowText(_hwnd);
    curtxt = strfmt("(%1) %2",systemInfo.getLoginDatabase(), curtxt)
    WinAPI::setWindowText(_hwnd, curtxt);
}

  

实现效果

posted @ 2015-07-08 10:01  szlailai  阅读(197)  评论(0编辑  收藏  举报