A: 

I found out I had to add ON_WM_CONTEXTMENU() to message map.

CptanPanic