Bagikan melalui


WindowPane.IVsUIElementPane.TranslateUIElementAccelerator(MSG[]) Method

Definition

Handles keyboard accelerators before the shell processes the message.

 virtual int Microsoft.VisualStudio.Shell.Interop.IVsUIElementPane.TranslateUIElementAccelerator(cli::array <Microsoft::VisualStudio::OLE::Interop::MSG> ^ msg) = Microsoft::VisualStudio::Shell::Interop::IVsUIElementPane::TranslateUIElementAccelerator;
int Microsoft.VisualStudio.Shell.Interop.IVsUIElementPane.TranslateUIElementAccelerator(std::Array <Microsoft::VisualStudio::OLE::Interop::MSG> const & msg);
int IVsUIElementPane.TranslateUIElementAccelerator (Microsoft.VisualStudio.OLE.Interop.MSG[] msg);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsUIElementPane.TranslateUIElementAccelerator : Microsoft.VisualStudio.OLE.Interop.MSG[] -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsUIElementPane.TranslateUIElementAccelerator : Microsoft.VisualStudio.OLE.Interop.MSG[] -> int
Function TranslateUIElementAccelerator (msg As MSG()) As Integer Implements IVsUIElementPane.TranslateUIElementAccelerator

Parameters

msg
MSG[]

The message.

Returns

If PreProcessMessage(Message) returns true, returns S_OK, otherwise returns E_FAIL.

Implements

Applies to