Problem with 2007 RibbonTheme |
Post Reply |
Author | |
Marco1
Senior Member Joined: 16 January 2004 Location: Germany Status: Offline Points: 251 |
Post Options
Thanks(0)
Posted: 01 July 2013 at 1:18pm |
Maximized application window of ribbon 2007 theme in 15.3.1:
Picture shows upper left screen corner. See red arrow, icons are correct. Same code in 16.2.0: As you can see, the buttons are out of screen in 16.2.0 The code for skin generation on app start is: XTPSkinManager()->GetResourceFile()->SetModuleHandle(AfxGetInstanceHandle()); VERIFY(XTPSkinManager()->LoadSkin(NULL, _T("NORMALBLUE.INI"))); XTPPaintManager()->SetTheme(xtpThemeRibbon); XTPColorManager()->SetLunaTheme(xtpSystemThemeBlue); Any suggestions? Codejock, should I file an issue? |
|
Marco1
Senior Member Joined: 16 January 2004 Location: Germany Status: Offline Points: 251 |
Post Options
Thanks(0)
|
You can verify this with CJ Ribbon.RibbonSample demo.
Just select Office 2007 or Office 2010 theme and select "Frame Theme" and "Frame Transparency" active. Behavior can be observed on different Windows 7 machines here. Was okay with 15.3.1 sample. |
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
We are looking into this. internal reference #476
|
|
Marco1
Senior Member Joined: 16 January 2004 Location: Germany Status: Offline Points: 251 |
Post Options
Thanks(0)
|
This got better in 16.2.2 - but is still NOT fixed 100%.
Just check out your RibbonSample and toggle Frame Transparancy. With transparent frame active there are still a few pixels missing above the Quick Access Toolbar - and the upper line of the Quick Access Toolbar itself is still out of screen. Office 2010 Theme is also slightly wrong. Just compare the Quick Access Bar with MS Office or Excel 2010. |
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
Hi,
Sorry, this wasn't specifically addressed in 16.2.2. Its on the list for 16.3 Thanks
|
|
Marco1
Senior Member Joined: 16 January 2004 Location: Germany Status: Offline Points: 251 |
Post Options
Thanks(0)
|
Please release 16.3. soon, because we can't upgrade to 16.x (and VS2012 at all) until skinning works well.
|
|
Marco1
Senior Member Joined: 16 January 2004 Location: Germany Status: Offline Points: 251 |
Post Options
Thanks(0)
|
This is better in release 16.2.5, but still and sadly NOT good.
Checkout RibbonSample with 2007 theme and toggle Frame Transparancy. The upper line of the quick access bar is still out of screen - and there should be 3 pixels between the bar and the screen corner. |
|
gpm1
Groupie Joined: 06 June 2006 Status: Offline Points: 54 |
Post Options
Thanks(0)
|
What has changed from 16.3.1 as now I get
In the previous version it was OK |
|
Product: Xtreme ToolkitPro (MFC) version 16.3.1/17.1.0-20.3.0
Platform: Windows 10 (64bit) Language: Visual C++ 2008/2013/2015/2019/2022 |
|
gpm1
Groupie Joined: 06 June 2006 Status: Offline Points: 54 |
Post Options
Thanks(0)
|
|
|
Product: Xtreme ToolkitPro (MFC) version 16.3.1/17.1.0-20.3.0
Platform: Windows 10 (64bit) Language: Visual C++ 2008/2013/2015/2019/2022 |
|
astoyan
Admin Group Joined: 24 August 2013 Status: Offline Points: 304 |
Post Options
Thanks(0)
|
Hello gpm1,
Can you reproduce the same problem on any of the sample applications included into ToolkitPro? Are you using SkinFramework with frame skinning enabled? Thank you. Regards, Alexander Stoyan |
|
gpm1
Groupie Joined: 06 June 2006 Status: Offline Points: 54 |
Post Options
Thanks(0)
|
Samples are working well. Problem with my application. I do not use skin dll, I use Office2007.cjstyles in my app.
What do you mean: Are you using SkinFramework with frame skinning enabled? Thanks, Pavel |
|
Product: Xtreme ToolkitPro (MFC) version 16.3.1/17.1.0-20.3.0
Platform: Windows 10 (64bit) Language: Visual C++ 2008/2013/2015/2019/2022 |
|
astoyan
Admin Group Joined: 24 August 2013 Status: Offline Points: 304 |
Post Options
Thanks(0)
|
Hello Pavel,
If you enable SkinFramework at any point with xtpSkinApplyFrame option enabled, it will cause a conflict with the ribbon theme, that looks exactly like yours. If you are sure that you are not enabling skin framework anywhere, you you have to double check the way you load and apply ribbon theme and make sure it's one-to-one with the samples, as nothing has changed for this theme. Thanks, Alexander
|
|
mihey
Groupie Joined: 14 May 2003 Location: Germany Status: Offline Points: 45 |
Post Options
Thanks(0)
|
I have exactly the same problem like Pavel.
used XTP 15.3.1 before with Office 2010 Theme via embedded resources in rc2 file like this: #ifdef _OFFICE2010 #include "Styles\Office2007\Office2007.rc" #include "SkinFramework\Styles\Office2010\Office2010.rc" #include "Styles\Office2010\Office2010.rc" The application looked like this: After migration to XTP 16.4.0 it looks so: xtpSkinApplyFrame is deactivated: XTPSkinManager()->SetApplyOptions(xtpSkinApplyColors | xtpSkinApplyMetrics); Any ideas? Best regards! Mikhail |
|
mihey
Groupie Joined: 14 May 2003 Location: Germany Status: Offline Points: 45 |
Post Options
Thanks(0)
|
In additional I need to say that I'm using SkinFramework and Styles together.
It also looks like since XTP 16.2 there is no way just to embed a Styles and SkinFramework resources into app resource without using an external Theme dll/cjstyles as at was before. Am I Right? Regards, Mikhail |
|
mihey
Groupie Joined: 14 May 2003 Location: Germany Status: Offline Points: 45 |
Post Options
Thanks(0)
|
After some try and errors I found out what loading a skin into Skin Framework after setting CommandBar Styles but not before helps. That also works with embedded Styles resources as well.
Regards, Mikhail |
|
gpm1
Groupie Joined: 06 June 2006 Status: Offline Points: 54 |
Post Options
Thanks(0)
|
Do you have any samples how to use Ribbon and skin at the same time?
Regards, Pavel |
|
Product: Xtreme ToolkitPro (MFC) version 16.3.1/17.1.0-20.3.0
Platform: Windows 10 (64bit) Language: Visual C++ 2008/2013/2015/2019/2022 |
|
mihey
Groupie Joined: 14 May 2003 Location: Germany Status: Offline Points: 45 |
Post Options
Thanks(0)
|
Hi Pavel,
check your PM, I've sent an example. Best regards, Mikhail. |
|
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 |