Is there any way I can add click events to a control I only have name of, and handle of, in an Internet Explorer browser?

I tried using SetParent, but then the form containing the control's click events would not work for some weird reason.