I wanna to create an application to autmic install Mysql Server in Windows, So I wanna to use Win32 api with SendMessage to simulate install operation, I can get the HWND, But the Mysql Configruration is written by Delphi 7 with TntContols and cannot BM_CLICK the Next button with SendMessage, Spy++ screenshot below: