![]() |
10.4 + Ribbon + Skin = MDIChild drawing issues |
Post Reply
|
| Author | |
eridu
Newbie
Joined: 05 July 2006 Location: United Kingdom Status: Offline Points: 10 |
Post Options
Thanks(0)
Quote Reply
Topic: 10.4 + Ribbon + Skin = MDIChild drawing issuesPosted: 04 January 2007 at 10:14am |
|
WinXP and VS6. Take the RibbonMDISample and add skin with
XTPSkinManager()->LoadSkin(_T("styles\\Office2007.cjstyles"));
then run it, enter a few lines of text, maximize the MDI child and resize the app. As the MDI child repaints and you lose the top 1cm or so of the window. This was not an issue in 10.3.1.
|
|
![]() |
|
eridu
Newbie
Joined: 05 July 2006 Location: United Kingdom Status: Offline Points: 10 |
Post Options
Thanks(0)
Quote Reply
Posted: 04 January 2007 at 11:00am |
|
However - Loading the skin after the MainFrame has been created or setting SetAutoApplyNewWindows(FALSE) during mainframe creation gets around this problem.
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 04 January 2007 at 2:43pm |
|
Thank you, will be fixed for first maintaince reelase.
As worksaround add
XTPSkinManager()->Remove(m_hWnd);
XTPSkinManager()->Remove(m_hWndMDIClient); in first lines of CMainFrame::OnCreate
|
|
|
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 |