Developer forums (C::B DEVELOPMENT STRICTLY!) > Contributions to C::B
The SetTitle function of script can't to update the UI information
(1/1)
Chun Jiu:
Hi ,
I tried SetTitle function of the script, and they successfully modify the titles in the project, but the information on the UI has not synchronized.
--- Code: ---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)
--- End code ---
oBFusCATed:
Have you tried to call the RebuildTree method of the ProjectManager?
Chun Jiu:
--- Quote from: oBFusCATed on March 26, 2015, 09:04:40 am ---Have you tried to call the RebuildTree method of the ProjectManager?
--- End quote ---
Thank you, After RebuildTree, this tree is updated. Now the target's title can't to update, It is located below the menu bar.
Chun Jiu:
--- Quote from: oBFusCATed on March 26, 2015, 09:04:40 am ---Have you tried to call the RebuildTree method of the ProjectManager?
--- End quote ---
And here:
Navigation
[0] Message Index
Go to full version