Print Page | Close Window

About the Toolbar

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Visual C++ MFC
Forum Description: Topics related to Codejock Visual C++ MFC products
URL: http://forum.codejock.com/forum_posts.asp?TID=15323
Printed Date: 28 September 2024 at 9:14am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: About the Toolbar
Posted By: RayaoHb
Subject: About the Toolbar
Date Posted: 08 October 2009 at 10:22pm
Dears,

I have one Toolbar(CXTPToolBar).Now I want some button is Grayed,and some other is not.what should i do?
please help me out from this problem.
thanks .



Replies:
Posted By: markr
Date Posted: 12 October 2009 at 1:25pm
Implement ON_UPDATE_COMMAND_UI message map macros for each command (or ON_UPDATE_COMMAND_UI_RANGE for command ranges) exposed by your toolbar. See any of the command bar sample projects for examples of how to do this.



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