Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Title Bar text appearing blue in SDI ribbon sample
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Title Bar text appearing blue in SDI ribbon sample

 Post Reply Post Reply
Author
Message
vijaymahajan View Drop Down
Groupie
Groupie
Avatar

Joined: 16 June 2008
Status: Offline
Points: 92
Post Options Post Options   Thanks (0) Thanks(0)   Quote vijaymahajan Quote  Post ReplyReply Direct Link To This Post Topic: Title Bar text appearing blue in SDI ribbon sample
    Posted: 13 October 2008 at 7:03am
Hello,
I have my application as SDI application.In its title bar,i am showing the application name,but it is appearing in blue color.
While in my MDI application,it appears properly in white text,according to the theme.
I checked your sample applications,but there also the same thing appearing. In your RibbonMdiSample,the title bar text is appearing properly.But in RibbonSample(SDI), the mainframe title text is appearing blue in black theme also.
 
Can u please explain,why it is appearing blue?
In my SDI application we have implemented black theme only,and i dont want the title bar text to appear blue.
Can u please tell the solution for this?
 
Thanks And Regards,
Vijay.
 
Back to Top
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Posted: 16 October 2008 at 3:54am

In CMainFrame constructor:

HMODULE hModule = AfxGetInstanceHandle();
XTPOffice2007Images()->SetHandle(hModule, _T("OFFICE2007BLACK.INI"));
Back to Top
vijaymahajan View Drop Down
Groupie
Groupie
Avatar

Joined: 16 June 2008
Status: Offline
Points: 92
Post Options Post Options   Thanks (0) Thanks(0)   Quote vijaymahajan Quote  Post ReplyReply Direct Link To This Post Posted: 17 October 2008 at 2:21am
Sorry,
But It didnt worked. I tried,in my application as well as your ribbonsample application also.But it didnt worked in both the applications.
the title of the application is still appearing blue.
Please tell if any other solution is possible
 
 
Thanks And Regards.
vijay
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: 17 October 2008 at 2:33am
Hi,
Its designed. Word 2007 use same colors.
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.