I am trying to develop a template class that is derived from CWnd. The class is essentially a container class for hotspots. The problem is that BEGIN_MESSAGE_MAP() doesn't like the class name because it is a template. How can I get around this? Or, baring that, is there a way I can get a non-CWnd derived class to catch mouse message events?

Thanks in advance for your help