BCGControlBar Pro for MFC
CWnd* CBCGPPopupMenu::GetMessageWnd ( ) const

Returns a pointer to window that receives the popup menu commands.

A pointer to window; it can be NULL if there is no window has been specified.

A popup menu object can route messages to a window. The window which receives the messages is specified in the Create() member function.