PDA

View Full Version : Find Menu Problem



Kyudos
05-06-2013, 04:08 PM
I'm not sure if this is a Toolkit problem or and Objective Grid issue. I have an MFC app that uses Toolkit and Objective Grid to view an Access database. I've implemented Find / Replace / Find Next / Find Previous in the Edit menu (using the standard MFC menu IDs). In Debug, these are all fine and work as expected. However, in the Release build the menu doesn't work - clicks do not access the menu handlers. Strangely though, the keyboard accelerators (e.g. Ctrl+F) DO continue to work.

It is like something (Stingray?) is eat the ON_COMMAND message somewhere. HAs anyone expereinced this? OR have any suggestions as to how to diagnose / fix the problem?

Kyudos
05-21-2013, 07:30 PM
I found the problem - a shared button update routine had an uninitialized vairble, leading to screwy Release results.