Scroll down to see how far i have got with my code
i've made a program with a button, and i want my program to (when i click my button) select the first internet explorer window and click the home button.Code:
int hWnd = (int)FindWindow(NULL, "Microsoft Internet Explorer");
if(hWnd == NULL)
MessageBox("Couldn't find window", "Error", MB_OK);
What have i done wrong so far?
Help appreciated, i've spent the last 4 hours searching google and getting nowhere.
Happy New Years all.