OleComponent.IOleComponent.FPreTranslateMessage(MSG[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Returns
TRUE (1) if the message was consumed, in which case the host should perform no further processing on the message, FALSE (0) otherwise.