The new Release 20.03 is out! You can download binaries for Windows and many major Linux distros here .
GetProjectManager().GetProject(0).SetTitle(_T("Collect_keys_WithThread"));GetProjectManager().GetProject(0).GetBuildTarget(0).SetTitle(_T("Debug x86"));GetProjectManager().GetProject(0).GetBuildTarget(0).SetModified(true);GetProjectManager().GetProject(0).SetModified(true)
Have you tried to call the RebuildTree method of the ProjectManager?