@msdn=http://search.microsoft.com/search/results.aspx?qu=$$$ @pinvoke=http://pinvoke.net/$$$.htm Summary: Returns strings for standard message box buttons. !!!!C# Signature: [DllImport("user32.dll", SetLastError = true, CharSet = CharSet.Unicode)] private static extern IntPtr MB_GetString(int strId); !!!!VB Signature: <DllImport("user32.dll", SetLastError:=True, CharSet:=CharSet.Unicode)> Private Shared Function MB_GetString(ByVal strId As Integer) As IntPtr End Function !!!!User-Defined Types: [DialogBoxCommandID] !!!!Alternative Managed API: Do you know one? Please contribute it! !!!!Notes: Use Marshal.PtrToStringAuto to retrieve the returned message. !!!!Tips & Tricks: Please add some! !!!!Sample Code: strMBText = Marshal.PtrToStringAuto(MB_GetString(id)) 'ID As DialogBoxCommandID Documentation: MB_GetString@msdn on MSDN
Edit user32.MB_GetString
You do not have permission to change this page. If you feel this is in error, please send feedback with the contact link on the main page.