SqlScriptEditorControl.TranslateAccelerator 메서드

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.

네임스페이스:  Microsoft.SqlServer.Management.UI.VSIntegration.Editors
어셈블리:  SQLEditors(SQLEditors.dll)

구문

‘선언
Public Overrides Function TranslateAccelerator ( _
    msg As MSG() _
) As Integer
‘사용 방법
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

매개 변수

  • msg
    유형: array<MSG[]
    An array of MSG objects.

반환 값

유형: System.Int32
An integer value that indicates the result of operation.

구현

IVsWindowPaneTranslateAccelerator(MSG)

참고 항목

참조

SqlScriptEditorControl 클래스

Microsoft.SqlServer.Management.UI.VSIntegration.Editors 네임스페이스