Menu accelerators not responding.

Started by Elias Montoya, July 07, 2010, 05:58:37 PM

Previous topic - Next topic

Elias Montoya


In my compiled program, If i click the menu options they commands work OK, but if i press the keyboard shortcut, nothing happens. For example, "find" is F3. clicking menu command works OK,
but pressing F3 does nothing. The focus is in EDM32. Any ideas why?
Win7, iMac x64 Retina display 5K, i7-5820K 4.4 ghz, 32GB RAM, All updates applied. - Firefly 3.70.

Roger Garstang

Does EDM32 capture the F3 already?  Try another key combo to see if it works.  Usually Alt+keys do other things too, so try something like Ctrl+F and see if it works, then you know it is the control and you will need to process it in there and ignore it or pass it to the form.

Paul Squires

Is the EDM32 control on a modal or non-modal form?
Paul Squires
PlanetSquires Software

Elias Montoya

Roger, No. and yes. other key works. just f3 does not.

Paul, non-modal. I know that opens way for trouble. What should i look for?
Win7, iMac x64 Retina display 5K, i7-5820K 4.4 ghz, 32GB RAM, All updates applied. - Firefly 3.70.

Paul Squires

Quote from: Elias Montoya on July 11, 2010, 06:47:55 PM
just f3 does not.

Are you running a modified version of EDM32? It seems odd that other keys work but F3 does not. Also, did you add any code to FF_PumpHook to filter the F3 key?
Paul Squires
PlanetSquires Software

Roger Garstang

Might check for other apps creating some type of global capture too. Screen Capture programs, or maybe some Search Bar since F3 is often used to search.

Elias Montoya


Paul, that was it, the pumphook had some unnecessary code that was bloking f3. :)

Thanx!

Unfortunately that didnt work for ALT+F... i will see whats going on. By the way,
is there a way to add custom shortcuts? im a bit rusty with menus.

Win7, iMac x64 Retina display 5K, i7-5820K 4.4 ghz, 32GB RAM, All updates applied. - Firefly 3.70.