I want to create a HTML control using ATL Wizard. I tried creating it using the ATL HTML Control. But when i tried to test it (both in ActiveX test container and in browser) i am gettting the error 'Object doesn't support this property or method'. (when it tries to call 'OnClick' , i.e when i click the button called 'Red', 'Green', 'Blue') I tried in Win98 and WinXp. I use VC6.

Can any one help with what i can i do to get this working?

Thanx in advance.
Mahesh