Standard disclaimer: I'm new to C++ and MFC.

I currently have a CDockablePane with some items in it. I can catch right-clicks pretty easily with OnContextMenu, but I would like to be able to catch regular and double-clicks as well. I would need to be able to tell what item in the pane they clicked on as well (HitTest for that?).

Anyone have some advice?