![]() |
AddSystemButton |
Post Reply
|
| Author | |
himanshu
Groupie
Joined: 04 January 2008 Status: Offline Points: 81 |
Post Options
Thanks(0)
Quote Reply
Topic: AddSystemButtonPosted: 19 February 2008 at 3:31am |
|
I am using the ribbonbar in my application. What need to be done apart from adding the below lines to get file menu
CXTPControlPopup* pControlFile = (CXTPControlPopup*)pRibbonBar->AddSystemButton(ID_MENU_FILE);
pControlFile->SetCommandBar(menu.GetSubMenu(0));
pControlFile->GetCommandBar()->SetIconSize(CSize(32, 32));
I have added these but not getting the file new,open,save,save as options.
I have add ID_MENU_FILE in resource.h
Thanks
Himanshu
|
|
![]() |
|
himanshu
Groupie
Joined: 04 January 2008 Status: Offline Points: 81 |
Post Options
Thanks(0)
Quote Reply
Posted: 20 February 2008 at 1:22am |
|
hi
any tips for me
thanks
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 20 February 2008 at 1:43pm |
|
Did you add ID_MENU_FILE to resources with all new, open, save items ?
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
himanshu
Groupie
Joined: 04 January 2008 Status: Offline Points: 81 |
Post Options
Thanks(0)
Quote Reply
Posted: 20 February 2008 at 11:42pm |
|
i could not understand what did u mean
i have added ID_MENU_FILE to resources but not added
ID_FILE_SAVE,ID_FILE_OPEN to resources. DO i need to add those in resources too and what else need to be done thanks himanshu |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 21 February 2008 at 1:27am |
|
Hi,
See IDR_MAINFRAME menu in RibbonSample.rc.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
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 |