Tech Support > Microsoft Windows > Development Resources > Spacebar - disable button press ???
Spacebar - disable button press ???
Posted by Dan on April 14th, 2005


Is there a way to stop buttons being press with the space key if the buttons
got focus?

Cheers,
Dan.


Posted by Sten Westerback on April 14th, 2005



"Dan" <dan@nospam.com> wrote in message
news:d3llgg$t1r$1$8302bc10@news.demon.co.uk...
Sure there is... subclass "BUTTON" wndclass and trow away the VK_SPACE
containing message. But you will make
users-used-to-normal-windows-operations unhappy...

- Sten





Similar Posts