This thread is getting silly.
What do you think the "sleep" key is? You never explained this.
If this "sleep" button is indeed the (power-)button that puts Windows to "sleep" then see my post above: it will not show up in OnKeyDown. You'll need a keyboard hook and I provided a link to an example showing this.
If the "sleep" key issomething else, please describe it,or even better, attach a picture of it.
Bart