Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - problem in your SDI app-Ribbonsample
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

problem in your SDI app-Ribbonsample

 Post Reply Post Reply
Author
Message
Pariksh*t View Drop Down
Groupie
Groupie
Avatar

Joined: 26 June 2008
Location: India
Status: Offline
Points: 77
Post Options Post Options   Thanks (0) Thanks(0)   Quote Pariksh*t Quote  Post ReplyReply Direct Link To This Post Topic: problem in your SDI app-Ribbonsample
    Posted: 17 December 2008 at 12:05am
 
hi,
In Ribbon sample(SDI) example, There are text 'Untitled - Codejock Ribbon Sample' in title bar. How can I change/remove this text 'Untitled' ?.
And application's name 'Codejock Ribbon Sample' is in blue color even in Black theme. How can I change it's color?

plz reply asap.

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: 17 December 2008 at 4:39am
This is MFC-stuff.
 
In CYourFrameWnd::PreCreateWindow():
cs.style &= ~FWS_ADDTITLE;
PokerMemento - http://www.pokermemento.com/
Back to Top
Pariksh*t View Drop Down
Groupie
Groupie
Avatar

Joined: 26 June 2008
Location: India
Status: Offline
Points: 77
Post Options Post Options   Thanks (0) Thanks(0)   Quote Pariksh*t Quote  Post ReplyReply Direct Link To This Post Posted: 17 December 2008 at 5:04am
i tried it ur RibbonSample application in

BOOL CMainFrame::PreCreateWindow(CREATESTRUCT& cs) function.....but getting this error

 
error C2065: 'FWS_ADDTITLE' : undeclared identifier
wot shoud i do?
Back to Top
Pariksh*t View Drop Down
Groupie
Groupie
Avatar

Joined: 26 June 2008
Location: India
Status: Offline
Points: 77
Post Options Post Options   Thanks (0) Thanks(0)   Quote Pariksh*t Quote  Post ReplyReply Direct Link To This Post Posted: 17 December 2008 at 5:28am

it worked...

cs.style &= ~FWS_ADDTOTITLE;

thanx.......
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.047 seconds.