BCGControlBar Library for .NET
FindLastVisibleButton Method (CommandBar)




The index of the button to start a search.
Called by the framework to find the nearest visible button located before the button with specified index in item collection.
Syntax
'Declaration
 
Public Overridable Function FindLastVisibleButton( _
   ByVal startFrom As Integer, _
   ByVal returnSeparators As Boolean _
) As ICommandObject
'Usage
 
Dim instance As CommandBar
Dim startFrom As Integer
Dim returnSeparators As Boolean
Dim value As ICommandObject
 
value = instance.FindLastVisibleButton(startFrom, returnSeparators)
public virtual ICommandObject FindLastVisibleButton( 
   int startFrom,
   bool returnSeparators
)
public: virtual ICommandObject* FindLastVisibleButton( 
   int startFrom,
   bool returnSeparators
) 
public:
virtual ICommandObject^ FindLastVisibleButton( 
   int startFrom,
   bool returnSeparators
) 

Parameters

startFrom
The index of the button to start a search.
returnSeparators
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

CommandBar Class
CommandBar Members

Send Feedback