IPropertyPage::TranslateAccelerator

Instructs the property page to process the keystroke described in pMsg.

HRESULT TranslateAccelerator(
  LPMSG pMsg  //Pointer to MSG structure
);
 

Parameters

pMsg
[in] Pointer to the MSG structure describing the keystroke to process.

Return Values

This method supports the standard return value E_UNEXPECTED, as well as the following:

S_OK
The property page handles the accelerator.
S_FALSE
The property page handles accelerators, but this one was not useful to it.
E_NOTIMPL
The property page does not handle accelerators.
E_POINTER
The address in pMsg is not valid. For example, it may be NULL.

Remarks

Notes to Callers

Calls to this method must occur after a call to IPropertyPage::Activate and before the corresponding call to IPropertyPage::Deactivate.

QuickInfo

  Windows NT: Use version 4.0 or later.
  Windows: Use Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in ocidl.h.

See Also

IPropertyPage::Activate, IPropertyPage::Deactivate