BCGControlBar Library for .NET
OnShowCustomizePopupMenu Method




The button to show the customize popup menu.
The current mouse position in screen coordinates. Specifies the upper-left corner of the popup menu to show.
Called by the framework to show a customize popup menu for specified ToolBar button on right mouse click on this button in the customize mode.
Syntax
'Declaration
 
Public Sub OnShowCustomizePopupMenu( _
   ByVal currentButton As ToolbarButton, _
   ByVal mouseLocation As Point _
) 
'Usage
 
Dim instance As Toolbar
Dim currentButton As ToolbarButton
Dim mouseLocation As Point
 
instance.OnShowCustomizePopupMenu(currentButton, mouseLocation)
public void OnShowCustomizePopupMenu( 
   ToolbarButton currentButton,
   Point mouseLocation
)
public: void OnShowCustomizePopupMenu( 
   ToolbarButton* currentButton,
   Point mouseLocation
) 
public:
void OnShowCustomizePopupMenu( 
   ToolbarButton^ currentButton,
   Point mouseLocation
) 

Parameters

currentButton
The button to show the customize popup menu.
mouseLocation
The current mouse position in screen coordinates. Specifies the upper-left corner of the popup menu to show.
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

Toolbar Class
Toolbar Members

Send Feedback