checkbox in a messagebox

Is there anyway to display a checkbox and some text in a message box? Something like “Don’t show this message again”. If it is possible to do this, how do you get the value of the Checkbox.

Seems MsgBox does not allow embedded CheckBox. However following use of MsgBox parameters can be implemented for the same, without the need for a CheckBox.

   //
   // See if Error Reporting is active for current type of Error message
   //
   If GetReportError() = True Then
        //
        // Variable strMsg contains the Error message
        //
        strMsg = strMsg + EndOfLine + EndOfLine + "Report each error ?"
        '
        ' vbYesNo = 4
        ' vbCritical = 48
        ' vbCritical = 16
        ' vbDefaultButton1 = 0
        ' vbDefaultButton2 = 256
        ' vbYex = 6
        ' vbNo = 7
        '
        If MsgBox(strMsg, 4 + 16 + 256) = 7 Then
          //
          // User selected "No"
          // Do not report simiar error next time
          //
          Call SetReportError(False)
        End If
   End If

Create a small window with a label, a canvas for the icon, an OK button, a Cancel button, and add the checkbox. Instead of calling dialog, you set the value in the label and the title of the window and read the value of the checkbox like so

Window.Checkbox1.Value

I vaguely recall seeing a WinAPI that allows this, but I have no clue of there is an OSX equivalent. I like your KISS method though.