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

Enabling toolbar and menu items

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!

3 Replies

SH Sue Harris February 11, 2005 12:04 AM

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


IV Igor Volnov February 11, 2005 01:58 PM

Nope, tried that already


AD Administrator Syncfusion Team February 11, 2005 05:00 PM

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.

Loader.
Live Chat Icon For mobile
Up arrow icon