Print Page | Close Window

a toolbar problem

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=3024
Printed Date: 31 May 2024 at 6:36pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: a toolbar problem
Posted By: Quyin
Subject: a toolbar problem
Date 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




Replies:
Posted By: Barto
Date Posted: 13 October 2005 at 8:14am

in

int CMainFrame::OnCreate(LPCREATESTRUCT lpCreateStruct)
{

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

...
}



Posted By: Quyin
Date Posted: 13 October 2005 at 8:14pm
Thank you ,Barto!!!



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net