makes sense
on a related note: I also have a problem in Sonar6.
It sends keystroke messages allright, but not all of them. For instance cursor up/down didn’t work.
spy++ revealed that Sonar sends a WM_GETDLGCODE message which allows windows controls to express which keystrokes they handle and which ones they leave to windows (e.g. tab or cursor keys in a dialog can be handled by windows itself).
I was able to fix it by adding this to the juce windowproc:
switch (message)
{
case WM_GETDLGCODE:
return DLGC_WANTALLKEYS;
...
this makes the juce window say to windows : keep sending all keys please.