We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Enabling toolbar and menu items

Thread ID:





24802 Feb 10,2005 11:43 PM UTC Feb 11,2005 10:00 PM UTC WinForms 3
Tags: Tools
Igor Volnov
Asked On February 10, 2005 11:43 PM UTC

What is the event that whould let me enable/disable menu and toolbar items based on the application state? When I am using standard Popup handling for menus, the related tooolbar items are also disabled and I can not click them even when they are supposed to be available. What is the event I need to handle, that is called from applicaiton_onidle? Thanks!

Sue Harris
Replied On February 11, 2005 05:04 AM UTC

The individual menu/bar items have an UpdateUI event on them which I believe is called in application idle and can be used to update the enabled state. Sue

Igor Volnov
Replied On February 11, 2005 06:58 PM UTC

Nope, tried that already

Administrator [Syncfusion]
Replied On February 11, 2005 10:00 PM UTC

Hi Igor, When using the UpdateUI event did you make sure to set either BarManager.UpdateUIMFCStyle or BarItem.UpdateUIOnAppIdle to true? The UpdateUI event won''t be called without one of those being true. Regards, Gregory Austin Syncfusion, Inc.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon