I need to click on a windows form application button through my adapter using win32Api.
I have found the button on the windows form screen using this code
childHwnd = Win32API.FindWindowByPosition(ptr, new Point(intbtnx, intbtny));
Now I need to auto click this button. I am not sure how to do it. Need some help please.
I have written this so far but this only fetches the button i need to click it.
childHwnd = Win32API.FindWindowByPosition(ptr, new Point(intPwdx, intPwdy));
Need to click the button that is available in childHwnd