Print Page | Close Window

Disable entire command bars

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=16464
Printed Date: 04 May 2024 at 12:11pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Disable entire command bars
Posted By: venkyhyd
Subject: Disable entire command bars
Date Posted: 17 March 2010 at 4:10am
My application launches excel for some calculations. While excel is being launched i would like to disable all the items on toolbar and menubar. How do i disable entire command bars? Currently i am iterating using GetControls() method.



Replies:
Posted By: Random
Date Posted: 29 April 2010 at 7:43am
Hey,guys!
U can use the  ON_UPDATE_COMMAND_UI_RANGE for a try.
Good luck!



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