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

时间:2023-03-09 05:09:33
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);
}

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

实现效果

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