IVsUIElementPane.TranslateUIElementAccelerator Method
Allows the pane to translate keyboard accelerators (hotkeys) before the shell processes the message.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assemblies: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Function TranslateUIElementAccelerator ( _
lpmsg As MSG() _
) As Integer
int TranslateUIElementAccelerator(
MSG[] lpmsg
)
int TranslateUIElementAccelerator(
array<MSG>^ lpmsg
)
abstract TranslateUIElementAccelerator :
lpmsg:MSG[] -> int
function TranslateUIElementAccelerator(
lpmsg : MSG[]
) : int
Parameters
lpmsg
Type: array<Microsoft.VisualStudio.OLE.Interop.MSG[]The message.
Return Value
Type: Int32
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.