Just out of curiosity, why do you want to come to a forum and spend all the time posting and waiting for someone to respond with what needs to be exactly what you are using, instead of Google searching it and finding it much faster? Because here, nobody can help you until we figure out what OS you are using (I'm assuming Windows XP), and then you'll have to go through the Win32 API. Are you using XP, and are you familiar with the Win32 API?
I know you didn't mean to, but when people come on and ask general questions like that, they look like jerks who are trying to get people to do their work for them. I know you're not one of those, but that is how it comes across with the 3-line questions like that. That's why we created our
Posting Guidelines an the section titled "How to ask a good question". If you follow that, you'll never have someone mis-interpreting your post as you wanting them to do all your work for you, so please have a look at the Guidelines. Thanks!