OleComponent.IOleComponent.FPreTranslateMessage(MSG[]) Method

Definition

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(MSG[]).

 virtual int Microsoft.VisualStudio.OLE.Interop.IOleComponent.FPreTranslateMessage(cli::array <Microsoft::VisualStudio::OLE::Interop::MSG> ^ pMsg) = Microsoft::VisualStudio::OLE::Interop::IOleComponent::FPreTranslateMessage;
int Microsoft.VisualStudio.OLE.Interop.IOleComponent.FPreTranslateMessage(std::Array <Microsoft::VisualStudio::OLE::Interop::MSG> const & pMsg);
int IOleComponent.FPreTranslateMessage (Microsoft.VisualStudio.OLE.Interop.MSG[] pMsg);
abstract member Microsoft.VisualStudio.OLE.Interop.IOleComponent.FPreTranslateMessage : Microsoft.VisualStudio.OLE.Interop.MSG[] -> int
override this.Microsoft.VisualStudio.OLE.Interop.IOleComponent.FPreTranslateMessage : Microsoft.VisualStudio.OLE.Interop.MSG[] -> int
Function FPreTranslateMessage (pMsg As MSG()) As Integer Implements IOleComponent.FPreTranslateMessage

Parameters

pMsg
MSG[]

The MSG object to pre-translate.

Returns

Int32

TRUE (1) if the message was consumed, in which case the host should perform no further processing on the message, FALSE (0) otherwise.

Implements

Applies to