Yeah, what teh fable said. You can only hammer-on a note if it's glowing (it won't have the black circle in the middle of it, it'll be completely white). And yeah just practise a lot.
Good bye everyone, it's been fun!
Special thanks to ED_, superman4u, and Cross Stinger
Credit for the Siggy goes to shadow slayer