![]() |
Main Window Title not Updating |
Post Reply ![]() |
Author | |
stefan ![]() Newbie ![]() Joined: 01 March 2011 Location: Sarasota Status: Offline Points: 2 |
![]() ![]() ![]() ![]() ![]() Posted: 01 March 2011 at 12:57pm |
After updating our MDI Application to CodeJock libraries the Main Window Title is sometimes not updated when documents are switched. When you hover the mouse over the System Menu (Minimize, Maximize, Close) buttons on the Top Right the correct title appears. This seems to be related to using the Office 2007 Frame. If I disable it, the title works fine.
I am using the lastest 2011 MFC ToolkitPro libraries.
I use the pDocument->SetTitle("My Ttile") command to swith Titles. Calling RecalcLayout on the Parent Frame also did not solve the issue. I found a similar issue in your knowledge base from 2 year ago: |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
Do you use Skinframework also ?
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
stefan ![]() Newbie ![]() Joined: 01 March 2011 Location: Sarasota Status: Offline Points: 2 |
![]() ![]() ![]() ![]() ![]() |
No I don't
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hello,
Please add such method in your CChildFrame. void CChildFrame::OnUpdateFrameTitle(BOOL bAddToTitle) { CMDIChildWnd::OnUpdateFrameTitle(bAddToTitle); if (GetStyle() & WS_MAXIMIZE) { GetParentFrame()->SendMessage(WM_NCPAINT); } } Thanks |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
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 |