Επεξεργασία

Κοινή χρήση μέσω


IPreviewHandlerFrame interface (shobjidl_core.h)

Enables preview handlers to pass keyboard shortcuts to the host. This interface retrieves a list of keyboard shortcuts and directs the host to handle a keyboard shortcut.

Inheritance

The IPreviewHandlerFrame interface inherits from the IUnknown interface. IPreviewHandlerFrame also has these types of members:

Methods

The IPreviewHandlerFrame interface has these methods.

 
IPreviewHandlerFrame::GetWindowContext

Gets a list of the keyboard shortcuts for the preview host.
IPreviewHandlerFrame::TranslateAccelerator

Directs the host to handle a keyboard shortcut passed from the preview handler.

Remarks

This is an interface that preview handlers use to communicate keyboard shortcuts to the host. Preview handlers obtain this interface by calling QueryInterface on the pointer passed as a parameter to SetSite. Preview handlers do not need to implement this interface.

Requirements

Requirement Value
Minimum supported client Windows Vista, Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header shobjidl_core.h
Redistributable Windows Search 4 or later