IMsoComponent::FPreTranslateMessage Method

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

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


  • 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


IMsoComponent Interface