Compartilhar via


IOleComponent.FPreTranslateMessage(MSG[]) Method

Definition

Processes the message before it is translated and dispatched.

public:
 int FPreTranslateMessage(cli::array <Microsoft::VisualStudio::OLE::Interop::MSG> ^ pMsg);
int FPreTranslateMessage(std::Array <Microsoft::VisualStudio::OLE::Interop::MSG> const & pMsg);
public int FPreTranslateMessage (Microsoft.VisualStudio.OLE.Interop.MSG[] pMsg);
abstract member FPreTranslateMessage : Microsoft.VisualStudio.OLE.Interop.MSG[] -> int
Public Function FPreTranslateMessage (pMsg As MSG()) As Integer

Parameters

pMsg
MSG[]

The message.

Returns

true if the message is consumed, false otherwise.

Remarks

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

Applies to