WindowPane.IVsUIElementPane.TranslateUIElementAccelerator Method

Handles keyboard accelerators before the shell processes the message.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'Declaration
Private Function TranslateUIElementAccelerator ( _
    msg As MSG() _
) As Integer Implements IVsUIElementPane.TranslateUIElementAccelerator
int IVsUIElementPane.TranslateUIElementAccelerator(
    MSG[] msg
)
private:
virtual int TranslateUIElementAccelerator(
    array<MSG>^ msg
) sealed = IVsUIElementPane::TranslateUIElementAccelerator
private abstract TranslateUIElementAccelerator : 
        msg:MSG[] -> int 
private override TranslateUIElementAccelerator : 
        msg:MSG[] -> int 
JScript does not support explicit interface implementations.

Parameters

Return Value

Type: System.Int32
If PreProcessMessage returns true, returns S_OK, otherwise returns E_FAIL.

Implements

IVsUIElementPane.TranslateUIElementAccelerator(array<MSG[])

.NET Framework Security

See Also

Reference

WindowPane Class

Microsoft.VisualStudio.Shell Namespace