Specifies the type of caption button to display.
[Visual Basic] Public Enum CaptionButton [C#] public enum CaptionButton [C++] public enum CaptionButton
[JScript] In JScript, you can use the enumerations in the NGWS frameworks, but you cannot define your own.
Caption buttons are the system buttons usually found on the right side of a form's title bar. The DrawCaptionButton method uses this enumeration.
Member Name | Description |
---|---|
Close | A Close button. |
Help | A Help button. |
Maximize | A Maximize button. |
Minimize | A Minimize button. |
Restore | A Restore button. |
Namespace: System.WinForms
Assembly: System.WinForms.dll