You called the whole accel table (used in Load Accel )
CM_ACCEL1
or just the ALT+SPACE combo? (used as a WN_COMMAND case)
the entry in the Accel table should look like (in VC v6)
Your not using a modal dlg? (will not work as has own msg loop)Code:CM_ACCEL1 ALT + VK_SPACE VIRTKEY //try this instead of a WPARAM switch UINT idControl=0; idControl = GET_WM_COMMAND_ID(wParam, lParam) ; switch(idControl)
Tested the hAccel != NULL after the LoadAccelTable() call?
It appears in your resources?
You included script.rc and resource.h? (you would be getting an error if not, so silly question)
Try to SetFocus() on some other control, not an edit or default button (or look at subclassing the input to the edit).
I use accelerators, have tested this particular case, and it an it works, so you have some other error.