Find "Start" Button with FindWindowEX ?

 

I am making an EA and it automatically starts tester.


I found the "Start" Button's handle from Microsoft Spy++

I use this route :


1. get the Chart's handle

2. Get the terminal's Handle ("GetAncestor")

3. hwnd=FindWindowExW(hwnd,0,"AfxControlBar140s","터미널") // Terminal

4. int hwnd1=FindWindowExW(hwnd,0,TesterAfxName,"테스트") // Tester

and so on..


but I am using "TesterAfxName" variable because Tester's class name is changed often.


Can I found the Start Button's handle without changing TesterAfxName variable?