Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns a pointer to the window where the framework routes the pop-up menu messages.
CWnd* GetMessageWnd() const;
Return Value
A pointer to the window that receives the pop-up menu messages; NULL if there is no window.
Remarks
When you use the method CMFCPopupMenu::Create to create a pop-up menu, you specify what window receives the menu messages.
Requirements
Header: afxpopupmenu.h