I've never really tried anything like this before and don't know where to start.
I want to make a program that can interact with another program/window. I was thinking of simply just passing some messages like WM_LBUTTONDOWN or changing the title or something simple like that.
Is there an API function that just returns a handle to the window you want to interact with or something?
After I have a handle to the window is should be fairly simple to pass messages, yes?