IVsMenuEditor::TranslateAccelerator Method (array<MSG>^)

 

Allows the edit control to catch keystrokes just like an ActiveX control.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int TranslateAccelerator(
	array<MSG>^ lpmsg
)

Parameters

lpmsg
Type: array<Microsoft.VisualStudio.OLE.Interop::MSG>^

[in] Pointer to an MSG structure that receives message information.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

C++

From vsshell.idl:

HRESULT IVsMenuEditor::TranslateAccelerator([in]LPMSG lpMsg);

Return to top
Show: