Hi all,

Actually i am new to VC2005. My problem is whenever i am trying to add any function say OnCtlColor to my class a message is displayed that Add/remove operation is not possible because the code element is read-only.

I am not getting how to correct it...

Can anybody help me in correcting it...

Thanks in advance