![]() |
problem in your SDI app-Ribbonsample |
Post Reply
|
| Author | |
Pariksh*t
Groupie
Joined: 26 June 2008 Location: India Status: Offline Points: 77 |
Post Options
Thanks(0)
Quote Reply
Topic: problem in your SDI app-RibbonsamplePosted: 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. |
|
![]() |
|
znakeeye
Senior Member
Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
Quote Reply
Posted: 17 December 2008 at 4:39am |
|
This is MFC-stuff.
In CYourFrameWnd::PreCreateWindow():
cs.style &= ~FWS_ADDTITLE;
|
|
|
PokerMemento - http://www.pokermemento.com/
|
|
![]() |
|
Pariksh*t
Groupie
Joined: 26 June 2008 Location: India Status: Offline Points: 77 |
Post Options
Thanks(0)
Quote Reply
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?
|
|
![]() |
|
Pariksh*t
Groupie
Joined: 26 June 2008 Location: India Status: Offline Points: 77 |
Post Options
Thanks(0)
Quote Reply
Posted: 17 December 2008 at 5:28am |
|
it worked... cs.style &= ~FWS_ADDTOTITLE; thanx....... |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |