BCGControlBar Library for .NET
CalcClientSize Method (CommandBar)




In default implementation this function  returns an empty rectangle. You can override this function in the
derived class to calculate the height and width of the client area of the CommandBar.
Syntax
'Declaration
 
Public Overridable Function CalcClientSize() As Rectangle
'Usage
 
Dim instance As CommandBar
Dim value As Rectangle
 
value = instance.CalcClientSize()
public virtual Rectangle CalcClientSize()
public: virtual Rectangle CalcClientSize(); 
public:
virtual Rectangle CalcClientSize(); 
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