Print Page | Close Window

One Ribbon File Button on all Office 2007 skins

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=15703
Printed Date: 21 November 2024 at 2:27pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: One Ribbon File Button on all Office 2007 skins
Posted By: aggressor
Subject: One Ribbon File Button on all Office 2007 skins
Date Posted: 24 November 2009 at 2:10pm
Hi Oleg,

Is this okay that all Office2007 styles for Ribbon have the same image for File Button -> Office2007_FileButton.png.

It's blue. But skins are different. The issue started to appear only in v13.2.0.

If it's a feature of v13.2.0 we need additional way to disable this blue button. Because the only one workaround for it, that we found, is to comment out the picture defined in Office2007*.rc files.

Great thanx.



Replies:
Posted By: Oleg
Date Posted: 25 November 2009 at 4:50am
Hi,
 
Just don't show System button as button. If you have something like pSystemButton->SetStyle(xtpButtonIcon); comment this line.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: aggressor
Date Posted: 25 November 2009 at 6:45am
Hi,

We need this button on GUI. It's working like this when ribbon has no visible tabs.

    CXTPControlPopup* pFile = (CXTPControlPopup*)pRibbon->AddSystemButton(0);
    pFile->SetCommandBar(fileMenu.GetSubMenu(0));
    pFile->SetCaption(L"File");


That's all that we are doing, and the button is present.


Posted By: Oleg
Date Posted: 26 November 2009 at 1:34am
Hi,
 
Please attach screenshot what you see here. Double check you don't have pFile->SetStyle(..) line.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net