FindWindowEx class/title help
I'm programming in C, and I'm remotely clicking a button programically. I've done it in simple, various simple form applications.. but I've ran across a problem.

    HWND WINAPI FindWindowEx(HWND hwndParent, HWND hwndChildAfter, LPCTSTR lpszClass, LPCTSTR lpszWindow);

I've tried using Spy++ (My old 6.0 edition) and the much-more-friendly WinID tool.

An example would be this; I'm attempting to find the required class and 'window' inside of calc.exe. In Windows 7, the class of these buttons is just "Button". Alright, but when you look for the title, it's "" (NULL). How would I get past this? I've got the ID of the button, but how would I use the ID instead of the "window" title?
FindWindowEx class/title help
===

I'm programming in C, and I'm remotely clicking a button programically. I've done it in simple, various simple form applications.. but I've ran across a problem.

    HWND WINAPI FindWindowEx(HWND hwndParent, HWND hwndChildAfter, LPCTSTR lpszClass, LPCTSTR lpszWindow);

I've tried using Spy++ (My old 6.0 edition) and the much-more-friendly WinID tool.

An example would be this; I'm attempting to find the required class and 'window' inside of calc.exe. In Windows 7, the class of these buttons is just "Button". Alright, but when you look for the title, it's "" (NULL). How would I get past this? I've got the ID of the button, but how would I use the ID instead of the "window" title?