thank you for a reply... I fix those things.
I am very grateful, if someone can give me a working code (or link) for something similary... I have searched so many days from Google and MSDN. Best way to learn is to examine working code.
I posted this thread in "Game Programming" ->
http://cboard.cprogramming.com/showthread.php?t=66807