Compartir a través de


SimpleEditorView.TranslateAccelerator(MSG[]) Method

Definition

Handles the translation of special navigation keys.

public:
 virtual int TranslateAccelerator(cli::array <Microsoft::VisualStudio::OLE::Interop::MSG> ^ msg);
 virtual int TranslateAccelerator(std::Array <Microsoft::VisualStudio::OLE::Interop::MSG> const & msg);
public virtual int TranslateAccelerator (Microsoft.VisualStudio.OLE.Interop.MSG[] msg);
abstract member TranslateAccelerator : Microsoft.VisualStudio.OLE.Interop.MSG[] -> int
override this.TranslateAccelerator : Microsoft.VisualStudio.OLE.Interop.MSG[] -> int
Public Overridable Function TranslateAccelerator (msg As MSG()) As Integer

Parameters

msg
MSG[]

An array of MSG structures holding the keyboard character or character combination to be handled.

Returns

When implemented by derived classes, if the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

Remarks

By default returns <xref:Microsoft.VisualStudio.NativeMethods.S_FALSE>.

Applies to