BCGControlBar Library for .NET
OnDrawMenuSystemButton Method (VisualManager)




Specifies the DrawButtonDef object associated with the menu system button to draw.

This function is called by the framework on redrawing the ToolBarSysMenuButton. Draws an image from IMAGE_IDS enumeration and three-dimensional (3-D) boundaries in the default implementation. Override this member function in your VisualManager-derived class to customize the redrawing of the system menu item.

Syntax
'Declaration
 
Public Overridable Sub OnDrawMenuSystemButton( _
   ByVal vd As DrawButtonDef _
) 
'Usage
 
Dim instance As VisualManager
Dim vd As DrawButtonDef
 
instance.OnDrawMenuSystemButton(vd)
public virtual void OnDrawMenuSystemButton( 
   DrawButtonDef vd
)
public: virtual void OnDrawMenuSystemButton( 
   DrawButtonDef* vd
) 
public:
virtual void OnDrawMenuSystemButton( 
   DrawButtonDef^ vd
) 

Parameters

vd
Specifies the DrawButtonDef object associated with the menu system button to draw.
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

VisualManager Class
VisualManager Members

Send Feedback