Ok Edit, I have this so far
Code:
#include "stdafx.h"
#include "windows.h"
int APIENTRY WinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpCmdLine,
int nCmdShow)
{
HWND hWndProSpam;
HWND hWndButton;
hWndProSpam = FindWindowEx(NULL, NULL, "ThunderRT6FormDC", "Pro Spam 1");
hWndButton = FindWindowEx(hWndProSpam, NULL, "ThunderRT6CommandButton", NULL);
EnableWindow(hWndProSpam, 1);
EnableWindow(hWndButton, 1);
SendMessage(hWndButton, WM_LBUTTONDOWN, NULL, NULL);
SendMessage(hWndButton, WM_LBUTTONUP, NULL, NULL);
return 0;
}
Is there a way I can make it think it's been clicked? Because that still grays out the button.