IOleComponent.FPreTranslateMessage Method

Processes the message before it is translated and dispatched.

Namespace:  Microsoft.VisualStudio.OLE.Interop
Assembly:  Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)

Syntax

'Declaração
Function FPreTranslateMessage ( _
    <OutAttribute> pMsg As MSG() _
) As Integer
int FPreTranslateMessage(
    MSG[] pMsg
)

Parameters

Return Value

Type: System.Int32
true if the message is consumed, false otherwise.

Remarks

The component can do TranslateAccelerator or IsDialogMessage, modify the message, or take some other action.

.NET Framework Security

See Also

Reference

IOleComponent Interface

Microsoft.VisualStudio.OLE.Interop Namespace