How to change app title from Backstage |
Post Reply |
Author | |
olebed
Admin Group Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |
Post Options
Thanks(0)
Posted: 04 February 2018 at 1:38pm |
Hello, There was question from customer, I think solution will be useful for other. Problem was in that calling CDocument::SetTitle() from Backstage Pages don't have immediate results in titleBar of application. Title belongs to Frame of application. CDocument::SetTitle call updating frames only of visible Views. CDocument belong to View which is invisible when shown Ribbon's Backstage. So title can't be updated by calling CDocument::SetTitle() when Backstage visible. Workaround is that you need to pass pointer to your RibbonBar to BackstagePage and make next calls
Regards, Oleksandr Lebed
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |