Use the SetCursorPos API to move it to the center and use the SendMessage API to click the button.