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 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


IV Igor Volnov February 11, 2005 06:58 PM UTC

Nope, tried that already


AD Administrator Syncfusion Team 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.

Loader.
Up arrow icon