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