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
- pMsg
Type: array<Microsoft.VisualStudio.OLE.Interop.MSG[]
The MSG object to pre-translate.
Return Value
Type: System.Int32
Implements
IOleComponent.FPreTranslateMessage(array<MSG[])
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.PlatformUI.OleComponentSupport Namespace