BCGControlBar Library for .NET
TrackPopupMenu Method




The point in screen coordinates specified the location of the popup menu.
The parent form for a popup menu.
A command bar manager for a popup menu.
Called by the framework to create a popup menu in the specified position for the specified parent control and CommandBarManager.
Syntax
'Declaration
 
Public Function TrackPopupMenu( _
   ByVal location As Point, _
   ByVal parent As Control, _
   ByVal manager As CommandBarManager _
) As Boolean
'Usage
 
Dim instance As PopupMenuBar
Dim location As Point
Dim parent As Control
Dim manager As CommandBarManager
Dim value As Boolean
 
value = instance.TrackPopupMenu(location, parent, manager)
public bool TrackPopupMenu( 
   Point location,
   Control parent,
   CommandBarManager manager
)
public: bool TrackPopupMenu( 
   Point location,
   Control* parent,
   CommandBarManager* manager
) 
public:
bool TrackPopupMenu( 
   Point location,
   Control^ parent,
   CommandBarManager^ manager
) 

Parameters

location
The point in screen coordinates specified the location of the popup menu.
parent
The parent form for a popup menu.
manager
A command bar manager for a popup menu.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PopupMenuBar Class
PopupMenuBar Members

Send Feedback