Partilhar via


IVsUIElementPane.TranslateUIElementAccelerator(MSG[]) Method

Definition

Allows the pane to translate keyboard accelerators (hotkeys) before the shell processes the message.

public:
 int TranslateUIElementAccelerator(cli::array <Microsoft::VisualStudio::OLE::Interop::MSG> ^ lpmsg);
int TranslateUIElementAccelerator(std::Array <Microsoft::VisualStudio::OLE::Interop::MSG> const & lpmsg);
public int TranslateUIElementAccelerator (Microsoft.VisualStudio.OLE.Interop.MSG[] lpmsg);
abstract member TranslateUIElementAccelerator : Microsoft.VisualStudio.OLE.Interop.MSG[] -> int
Public Function TranslateUIElementAccelerator (lpmsg As MSG()) As Integer

Parameters

lpmsg
MSG[]

The message.

Returns

If the element translated the message and no further translation and processing is required, return S_OK. If you want the shell to translate the message, return S_FALSE.

Applies to