Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » Delay with toolbar button popup menu Collapse All
Subject Author Date
Chris Thomas Jul 18, 2005 - 7:56 AM

I’ve got a toolbar button that has an attached popup menu. It has a mysterious delay of 1-2 seconds between clicking on a menu item and hitting a breakpoint in the menu item handler. I tracked it down to CExtBarButton::OnTrackPopup(). It looks like the delay is within that routine, between the call to pPopup->TrackPopupMenu() and getting the clicked command id. After that, things are fast.

Any ideas on what to look for or what I can try?

Thanks

Technical Support Jul 18, 2005 - 1:14 PM

We need more details about your project and the problem. Does the problem exist in Prof-UIS sample applications when you run them? Do you use custom painted menu items and your code loads some resources during the painting? Does your project implement any features that can eat CPU time?