BCGControlBar Library for .NET
TopLevelBarAndButtonFromPoint Method




Syntax
'Declaration
 
Protected Overridable Function TopLevelBarAndButtonFromPoint( _
   ByVal pointClient As Point, _
   ByRef hotButton As ICommandObject, _
   ByRef topLevelButtonOpenedThisBar As Boolean _
) As CommandBar
'Usage
 
Dim instance As PopupMenuBar
Dim pointClient As Point
Dim hotButton As ICommandObject
Dim topLevelButtonOpenedThisBar As Boolean
Dim value As CommandBar
 
value = instance.TopLevelBarAndButtonFromPoint(pointClient, hotButton, topLevelButtonOpenedThisBar)
protected virtual CommandBar TopLevelBarAndButtonFromPoint( 
   Point pointClient,
   ref ICommandObject hotButton,
   ref bool topLevelButtonOpenedThisBar
)
protected: virtual CommandBar* TopLevelBarAndButtonFromPoint( 
   Point pointClient,
   ref ICommandObject* hotButton,
   ref bool topLevelButtonOpenedThisBar
) 
protected:
virtual CommandBar^ TopLevelBarAndButtonFromPoint( 
   Point pointClient,
   ICommandObject^% hotButton,
   bool% topLevelButtonOpenedThisBar
) 

Parameters

pointClient
hotButton
topLevelButtonOpenedThisBar
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