im a total newbie to c++, i havent coded nething yet :-x but i want to start out coding a program that virtually presses a button.. keyboard output i guess would you call it.. so can ne1 point me to any tutorials on how to do this?

i need to also it toggle it on and off with a button (like a form button)

ne help is appreciated