IOleComponent::FPreTranslateMessage Method (array<MSG>^)

 

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)

int FPreTranslateMessage(
	array<MSG>^ pMsg
)

Parameters

pMsg
Type: array<Microsoft.VisualStudio.OLE.Interop::MSG>^

The message.

Return Value

Type: System::Int32

true if the message is consumed, false otherwise.

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

Return to top
Show: