msgBox only displaysOK button

My macro:

Sub Message_Box_Test
	dim iResponse as Integer
	dim strNotes as String

	iResponse = MsgBox("Are there special notes that need to be added to this report?", Buttons = YESNOCANCEL, "Special Notes")
	If iResponse = 7 Then
		MsgBox "No"
	ELSEIF iResponse = 2 Then
		Exit Sub
	ELSE
		strNotes = inputBox("Enter the special notes as they should appear:", "Special Notes")
	END IF
	
	msgBox strNotes


End Sub```

When I run it, the first message box has the correct title, but only an OK button.

Windows 10, LO7.0.6.2(x64)

Should I be filing a bug report?

Yes, this is bug. But not in Basic.
iResponse = MsgBox("Are there special notes that need to be added to this report?", MB_YESNOCANCEL, "Special Notes")

Where do you get Buttons =?

here:
https://help.libreoffice.org/7.0/en-US/text/sbasic/shared/03010102.html?DbPAR=BASIC#bm_id3153379

Yes, I referenced the same Help page in my answer. Did you scroll down to the Example section?

:flushed: Good point. Thanks!