I am having hard time using coordinates in Click method.
Is there any other way where I don't need to use coordinates for the Click method and get the actual name of the object I am clicking??
Thanks in advance
Assuming you've declared the dialog you are working with and are not using the dreaded record/playback method of automation:
//retrieves the caption of the control you are about to click
STRING sCaption = Dialog1.PushButton1.GetCaption()
//clicks the control
Have you ever noticed? Anybody going slower than you is an idiot, and anyone going faster than you is a maniac.