DoB,
No, it doesn't. The only way I can think of is to hook the windows
message box. This article will show you how to do it in managed code.
http://msdn.microsoft.com/msdnmag/issues/02/11/CuttingEdge/
You can probably hook into the messagebox and then use the FindWindow
API function to find the appropriate windows, and then call SendMessage with
a WM_GETTEXT message to get the text of the buttons.

Signature
- Nicholas Paldino [.NET/C# MVP]
- mvp@spam.guard.caspershouse.com
> Specifically, I would like to know the exact strings that are displayed on
> "Yes/No/Cancel" buttons of a Message Box.
> Does .Net Framework allow this?
>
> DoB
DoB - 07 Feb 2008 16:04 GMT
> No, it doesn't. The only way I can think of is to hook the windows
> message box. This article will show you how to do it in managed code.
>
> http://msdn.microsoft.com/msdnmag/issues/02/11/CuttingEdge/
Thanks :-)
DoB