Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - CXTPRibbonTheme Override
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTPRibbonTheme Override

 Post Reply Post Reply
Author
Message
Kenneth View Drop Down
Senior Member
Senior Member
Avatar

Joined: 23 May 2004
Location: United States
Status: Offline
Points: 256
Post Options Post Options   Thanks (0) Thanks(0)   Quote Kenneth Quote  Post ReplyReply Direct Link To This Post Topic: CXTPRibbonTheme Override
    Posted: 25 February 2008 at 12:09pm
What is the proper way to override the CXTPRibbonTheme function FillStatusBar function?  I have tried:
 
class CXTPRibbonTheme : public CXTPOffice2007Theme
{
private:
void FillStatusBar(CDC* pDC,CXTPStatusBar* pBar);
};
 
and get error C2011: 'CXTPRibbonTheme' : 'class' type redefinition
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 February 2008 at 2:07pm
???
Obviously you need another name:
 
class CMyRibbonTheme : public CXTPRibbonTheme
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Kenneth View Drop Down
Senior Member
Senior Member
Avatar

Joined: 23 May 2004
Location: United States
Status: Offline
Points: 256
Post Options Post Options   Thanks (0) Thanks(0)   Quote Kenneth Quote  Post ReplyReply Direct Link To This Post Posted: 25 February 2008 at 5:28pm
Oleg
 
Thanks, I must have been sleeping.  Its been a very long day!
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.063 seconds.