SqlScriptEditorControl.TranslateAccelerator Method
Called by Visual Studio to give the window pane a chance to interpret messages before they are routed to their associated windows. Override that enables order processing of WM_MOUSEWHEEL by the grid.
Namespace: Microsoft.SqlServer.Management.UI.VSIntegration.Editors
Assembly: SQLEditors (in SQLEditors.dll)
Syntax
'Declaration
Public Overrides Function TranslateAccelerator ( _
msg As MSG() _
) As Integer
'Usage
Dim instance As SqlScriptEditorControl
Dim msg As MSG()
Dim returnValue As Integer
returnValue = instance.TranslateAccelerator(msg)
public override int TranslateAccelerator(
MSG[] msg
)
public:
virtual int TranslateAccelerator(
array<MSG>^ msg
) override
abstract TranslateAccelerator :
msg:MSG[] -> int
override TranslateAccelerator :
msg:MSG[] -> int
public override function TranslateAccelerator(
msg : MSG[]
) : int
Parameters
- msg
Type: array<MSG[]
An array of MSG objects.
Return Value
Type: System.Int32
An integer value that indicates the result of operation.
Implements
IVsWindowPaneTranslateAccelerator(MSG)
See Also
Reference
Microsoft.SqlServer.Management.UI.VSIntegration.Editors Namespace