Share via


IMsoComponent::FPreTranslateMessage Method

Applies to: Office 2010

Enables components to process a message before the message is translated and is dispatched. Components can use the TranslateAccelerator function, use the IsDialogMessage function, modify the pMsg parameter, or take some other action.

BOOL FPreTranslateMessage(
   MSG *pMsg
);

Parameters

  • pMsg [in, out]
    A pointer to the message that is available for processing.

Return Value

TRUE to indicate that the message is consumed; otherwise, FALSE.

See Also

Reference

IMsoComponent Interface