WindowPane.IVsUIElementPane.TranslateUIElementAccelerator(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.
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.