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.
Called by the framework when the user opens the drop-down menu of a toolbar menu button.
virtual BOOL OpenPopupMenu(
CWnd* pWnd=NULL
);
Parameters
- [in] pWnd
Specifies the window that receives the drop-down menu commands. It can be NULL only if the toolbar menu button has a parent window.
Return Value
TRUE when aCMFCPopupMenu Class object was created and opened successfully; otherwise FALSE.
Remarks
This function is called by the framework when the user opens a drop-down menu from a toolbar menu button.
Requirements
Header: afxtoolbarmenubutton.h