Partager via


SingleTaskIdleManager.IOleComponent.FPreTranslateMessage Method

Processes the message before it is translated and dispatched.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Private Function FPreTranslateMessage ( _
    pMsg As MSG() _
) As Integer Implements IOleComponent.FPreTranslateMessage
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: Int32
true if the message is consumed, false otherwise.

Implements

IOleComponent.FPreTranslateMessage(array<MSG[])

Remarks

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

.NET Framework Security

See Also

Reference

SingleTaskIdleManager Class

Microsoft.VisualStudio.Shell Namespace