IPropertyPage::TranslateAccelerator method (ocidl.h)
Passes a keystroke to the property page for processing.
Syntax
HRESULT TranslateAccelerator(
[in] MSG *pMsg
);
Parameters
[in] pMsg
A pointer to the MSG structure describing the keystroke to be processed.
Return value
This method can return the standard return value E_UNEXPECTED, as well as the following values.
Return code | Description |
---|---|
|
The property page handles the accelerator. |
|
The property page handles accelerators, but this one was not useful to it. |
|
The property page does not handle accelerators. |
|
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.Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | ocidl.h |