Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » ArrayCtrl, pop-up menus, and mouse problems...
Re: ArrayCtrl, pop-up menus, and mouse problems... [message #15250 is a reply to message #15248] Fri, 11 April 2008 17:21 Go to previous messageGo to previous message
tvanriper is currently offline  tvanriper
Messages: 85
Registered: September 2007
Location: Germantown, MD, USA
Member
Hrm... I may have found another bug related to this. Or maybe it's a separate bug, I'm not sure.

Environment

As mentioned in the previous message.

Steps to reproduce
  1. Create a dialog with an ArrayCtrl (I used the layout tool for this, if that helps).
  2. Call the functions as the message above.
  3. Ensure the dialog has an Acceptor and Rejector for an OK and Cancel button.
  4. Run the application, and bring up the dialog.
  5. Right-click on the ArrayCtrl, to bring up the pop-up menu.
  6. Hold the mouse pointer over the pop-up menu, and tap the ESC key, to close the pop-up menu.
  7. Click on either the OK or Cancel button.

Expected result

Cancels or accepts the input, depending on the button you press.

Actual result

The dialog does not appear to do anything. The only way to close the dialog, at this point, is to click on the 'Close' button in the upper-right corner (the one on the title bar).

Keyboard accelerators for these buttons do not seem to make the button work, either.

I tried changing the buttons to call a custom function through THISBACK, and call Break() from within the custom function. It still fails to close the dialog. Debugging, I see that EndLoop gets called (within CtrlCore.h), but has no effect.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: GridCtrl::OneClickEdit() appears to be broken
Next Topic: ArrayCtrl: How can I refresh just one cell that changed?
Goto Forum:
  


Current Time: Fri Jun 20 17:51:23 CEST 2025

Total time taken to generate the page: 0.02942 seconds