SendMessage Question(編號:2355)

When user press "ESC", I want a command button to be pressed.
How can I do ?
I think Send a Message to the command botton is a method !
Does any one can give me a reference code ?
ie, how to get the botton's handle ?
Thank you very much !!!!