Share

AcApStatusBar::DisplayPopupPaneMenu

C++

virtual UINT DisplayPopupPaneMenu(
    AcPane* pPane, 
    CMenu& menu
) = 0;

Description

This function displays the given context menu directly above the given pane. Use this function to display context menus for ACSB_POPUP style panes. The context menu is aligned with the upper-left edge of the pane instead of being displayed where the user has clicked on the pane.

Returns an unsigned integer representing the ID of the menu item the user selected, or 0 if no menu item was selected.

Parameters

Parameters Description
pPane Input pane object representing the pane for which the context menu will be displayed
menu Input menu object representing the context menu that will be displayed

Links

AcApStatusBar

Was this information helpful?