I am trying to capture every time any titlebar is right-clicked. I can hook into the mouse, and so can capture any right click, but am having difficulty actually identifying what they have clicked on. I believe its WM_NCHITTEST that is needed, but I'm stuck, and really need a code example, so any offers? please??