I had created an HTML control with new atl object, but it doesn't work, the problem is when I press any of the buttoms it thow an exception "object doesn't support this propierty or method"

Thank you