IVsMenuEditor.TranslateAccelerator(MSG[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Allows the edit control to catch keystrokes just like an ActiveX control.
public:
int TranslateAccelerator(cli::array <Microsoft::VisualStudio::OLE::Interop::MSG> ^ lpmsg);
int TranslateAccelerator(std::Array <Microsoft::VisualStudio::OLE::Interop::MSG> const & lpmsg);
public int TranslateAccelerator (Microsoft.VisualStudio.OLE.Interop.MSG[] lpmsg);
abstract member TranslateAccelerator : Microsoft.VisualStudio.OLE.Interop.MSG[] -> int
Public Function TranslateAccelerator (lpmsg As MSG()) As Integer
Parameters
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
C++
From vsshell.idl:
HRESULT IVsMenuEditor::TranslateAccelerator([in]LPMSG lpMsg);