BCGControlBar Library for .NET
CaptionCommandButton Constructor




The image from the IMAGE_IDS enumeration to draw on the surface of the CaptionCommandButton.
The  identifier  of the CaptionCommandButton.
Initializes a new instance of the CaptionCommandButton class.
Syntax
'Declaration
 
Public Function New( _
   ByVal buttonType As IMAGES_IDS, _
   ByVal id As Integer _
)
'Usage
 
Dim buttonType As IMAGES_IDS
Dim id As Integer
 
Dim instance As New CaptionCommandButton(buttonType, id)
public CaptionCommandButton( 
   IMAGES_IDS buttonType,
   int id
)
public: CaptionCommandButton( 
   IMAGES_IDS buttonType,
   int id
)
public:
CaptionCommandButton( 
   IMAGES_IDS buttonType,
   int id
)

Parameters

buttonType
The image from the IMAGE_IDS enumeration to draw on the surface of the CaptionCommandButton.
id
The  identifier  of the CaptionCommandButton.
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

CaptionCommandButton Class
CaptionCommandButton Members

Send Feedback