IDebugMessageEvent2::SetResponse

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Sets the response, if any, from the message box.

Syntax

HRESULT SetResponse( 
   DWORD dwResponse
);
int SetResponse( 
   uint dwResponse
);

Parameters

dwResponse
[in] Specifies the response, using the conventions of the Win32 MessageBox function. See the AfxMessageBox function for details.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

See also