Partager via


OleComponent.IOleComponent.FPreTranslateMessage Method

Host calls this method on the active component (if its registration info (ComponentRegistrationFlags) indicates it is interested in Pre-translate calls) to give the component a chance to process messages before they are translated and dispatched. The host need not call this method if no component is active. Simply calls through to FPreTranslateMessageCore.

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

Syntax

'Déclaration
Private Function FPreTranslateMessage ( _
    pMsg As MSG() _
) As Integer Implements IOleComponent.FPreTranslateMessage
'Utilisation
Dim instance As OleComponent
Dim pMsg As MSG()
Dim returnValue As Integer

returnValue = CType(instance, IOleComponent).FPreTranslateMessage(pMsg)
int IOleComponent.FPreTranslateMessage(
    MSG[] pMsg
)
private:
virtual int FPreTranslateMessage(
    array<MSG>^ pMsg
) sealed = IOleComponent::FPreTranslateMessage
private abstract FPreTranslateMessage : 
        pMsg:MSG[] -> int 
private override FPreTranslateMessage : 
        pMsg:MSG[] -> int 
JScript does not support explicit interface implementations.

Parameters

Return Value

Type: System.Int32

Implements

IOleComponent.FPreTranslateMessage(array<MSG[])

.NET Framework Security

See Also

Reference

OleComponent Class

OleComponent Members

Microsoft.VisualStudio.PlatformUI.OleComponentSupport Namespace