Partager via


SingleTaskIdleManager.IOleComponent.FPreTranslateMessage(MSG[]) Method

Definition

Processes the message before it is translated and dispatched.

 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 message.

Returns

true if the message is consumed, false otherwise.

Implements

Remarks

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

Applies to