Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - One Ribbon File Button on all Office 2007 skins
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

One Ribbon File Button on all Office 2007 skins

 Post Reply Post Reply
Author
Message
aggressor View Drop Down
Groupie
Groupie


Joined: 15 August 2007
Location: United States
Status: Offline
Points: 27
Post Options Post Options   Thanks (0) Thanks(0)   Quote aggressor Quote  Post ReplyReply Direct Link To This Post Topic: One Ribbon File Button on all Office 2007 skins
    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.
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
aggressor View Drop Down
Groupie
Groupie


Joined: 15 August 2007
Location: United States
Status: Offline
Points: 27
Post Options Post Options   Thanks (0) Thanks(0)   Quote aggressor Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.157 seconds.