IVsMenuEditor::TranslateAccelerator Method (array<MSG>^)
Visual Studio 2015
Allows the edit control to catch keystrokes just like an ActiveX control.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- lpmsg
-
Type:
array<Microsoft.VisualStudio.OLE.Interop::MSG>^
[in] Pointer to an MSG structure that receives message information.
Return Value
Type: System::Int32If 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);
Show: