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

a toolbar problem

 Post Reply Post Reply
Author
Message
Quyin View Drop Down
Newbie
Newbie


Joined: 13 October 2005
Location: China
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote Quyin Quote  Post ReplyReply Direct Link To This Post Topic: a toolbar problem
    Posted: 13 October 2005 at 2:32am

I am a chinese,my English is not very good.when  create a toolbar ,and than run the application

at the end of the toolbar ,there is a list button (Add or Remove Buttons),how hidden the button

thanks



Edited by Quyin
Back to Top
Barto View Drop Down
Groupie
Groupie


Joined: 27 February 2005
Location: Germany
Status: Offline
Points: 60
Post Options Post Options   Thanks (0) Thanks(0)   Quote Barto Quote  Post ReplyReply Direct Link To This Post Posted: 13 October 2005 at 8:14am

in

int CMainFrame::OnCreate(LPCREATESTRUCT lpCreateStruct)
{

...
 CXTPCommandBars* pCommandBars = GetCommandBars();
 pCommandBars->GetCommandBarsOptions()->bShowExpa ndButtonAlways = FALSE;

...
}

Back to Top
Quyin View Drop Down
Newbie
Newbie


Joined: 13 October 2005
Location: China
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote Quyin Quote  Post ReplyReply Direct Link To This Post Posted: 13 October 2005 at 8:14pm
Thank you ,Barto!!!
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.203 seconds.