Sub Class controls

Hi
If any example on subclass Weblistbox to make it row editable and col editable like desktop ListBox.

I need where to start or ideas how this works so i can make my own controls for my projects.

thanks