This method indicates if the button that you define by the passed in parameter is present on the message box.
Visual Basic |
---|
Public Function HasButton( _ ByVal ButtonType As ENUM_BUTTON_TYPE _ ) As Boolean |
- ButtonType
Value Description BUTTON_TYPE_ABORT BUTTON_TYPE_CANCEL BUTTON_TYPE_CONTINUE BUTTON_TYPE_HELP BUTTON_TYPE_IGNORE BUTTON_TYPE_NO BUTTON_TYPE_OK BUTTON_TYPE_RETRY BUTTON_TYPE_YES
Boolean. True means it has the button. False means it doesn't have the button.