BCGControlBar Library for .NET
OnDrawAutoHideButtonImage Method (VisualManager)




Specifies AutoHideButtonVisualDef object associated with an autohide button to draw an image.

Called by the framework on painting an autohide button. Override this function in a derived class in order to specify the size and location of the image on the surface of the autohide button.
Syntax
'Declaration
 
Public Overridable Function OnDrawAutoHideButtonImage( _
   ByVal vd As AutoHideButtonVisualDef _
) As Rectangle
'Usage
 
Dim instance As VisualManager
Dim vd As AutoHideButtonVisualDef
Dim value As Rectangle
 
value = instance.OnDrawAutoHideButtonImage(vd)
public virtual Rectangle OnDrawAutoHideButtonImage( 
   AutoHideButtonVisualDef vd
)
public: virtual Rectangle OnDrawAutoHideButtonImage( 
   AutoHideButtonVisualDef* vd
) 
public:
virtual Rectangle OnDrawAutoHideButtonImage( 
   AutoHideButtonVisualDef^ vd
) 

Parameters

vd

Specifies AutoHideButtonVisualDef object associated with an autohide button to draw an image.

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