We are developing a mixed c++ application were we host a usercontrol within an MFC CWinFormsView. This control contains UltraToolbars with PopupMenuTool dropdown menus.
We are experiencing problems with the dropdown menus remaining sticky on the screen when the mouse clicks outside the menu or the form is moved or closed. Furthermore, the Escape doesn't work for closing the menus or any other shortcut key assigned to a menu entry. We also have a WinNavigationBar that has the same problems when a dropdown for a location is opened.
Could you please advise?
Carlo
Mike, thanks for your reply.
I have already tried that. I removed all of the other controls on the form and removed all of the code that was catching and forwarding the KeyDown, Up, and Press events. That is why I was wondering if this was a bug as described by earlier posts.
It sounds like another control on your form is processing the Alt key before it can get to the toolbars manager. Try making a copy of the more complicated form and removing controls from the main form one by one to see which control is causing the issue.
Are you guys having problems with alt key navigation? I CAN assign a shortcut key combination to a tool and it WILL work. However, in my app, I do NOT get the correct behavior when clicking Alt and using menu mnemonics.
The form that I am using has an UltraToolbarsManager control along with some other controls. Specficially, the form is being launched within a command in ESRI's ArcMap application. I created a sample command with a simple form with an UltraToolbarsManager and can get the navigation to work. However, in my more complicated form, the navigation won't work. Clicking Alt doesn't even activate the menu bar.
Are others seeing this same problem?
The sticky popup menu and shortcut keys problems happen about 90% of the time in our environment (winform, debug or release build, single and dual core machines, XP, VS2005, .NET 2.0, community of 50+ developers and QA, hundreds of users). We are going to roll out our software very soon to many thousands of users. This is a very serious usability issue and I urge Infragistics to look into the problems and provide a solution soon. (and when I contact your support, they just replied back with a very, very simple program citing "cannot reproduce").
I have also tried taking out our application specific code, even putting return statements at the beginning of the main form's constructor and load event without any success.
ps. Again, we believe this is a problem with UltraToolbarsManager. We are using the Ribbon control.
Regards,
Roger
I am using VS2005 and .Net 2.0 , running on a single processor Windows XP. The problem with the shortcut keys occurs consistently in our application, unfortunately so far I am not able to reproduce it in a small sample.