News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

The SetTitle function of script can't to update the UI information

Started by Chun Jiu, March 26, 2015, 05:41:12 AM

Previous topic - Next topic

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.


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)


I love my girlfriend like c++!    :-)

[url="http://pan.baidu.com/s/1feNwU"]http://pan.baidu.com/s/1feNwU[/url]
easilygcc is a gmail's email.

oBFusCATed

Have you tried to call the RebuildTree method of the ProjectManager?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Chun Jiu

Quote from: oBFusCATed on March 26, 2015, 09:04:40 AM
Have you tried to call the RebuildTree method of the ProjectManager?

Thank you, After RebuildTree, this tree is updated. Now the target's title can't to update, It is located below the menu bar.

I love my girlfriend like c++!    :-)

[url="http://pan.baidu.com/s/1feNwU"]http://pan.baidu.com/s/1feNwU[/url]
easilygcc is a gmail's email.

Chun Jiu

I love my girlfriend like c++!    :-)

[url="http://pan.baidu.com/s/1feNwU"]http://pan.baidu.com/s/1feNwU[/url]
easilygcc is a gmail's email.