Compartilhar via


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

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

See Also

Reference

IVsUIElementPane Interface

Microsoft.VisualStudio.Shell.Interop Namespace