Clicking a greyed out command button
Okay I have a button that disables on mouse over, then reneables when it's moved away. I'v tried doing it this way:
But I guess you would have to go way much deeper than using that.
hWndProSpam = FindWindowEx(NULL, NULL, "ThunderRT6FormDC", "Pro Spam 1");
hWndProSpam = Findwindow
hWndButton = FindWindowEx(hWndProSpam, NULL, "ThunderRT6CommandButton", NULL);
SendMessage(hWndButton, WM_LBUTTONDOWN, NULL, NULL);
SendMessage(hWndButton, WM_LBUTTONUP, NULL, NULL);
Someone told me I need to find the EXE name, Handle, buttoname, and to send a click using windows messeges. Any help?