IPreviewHandlerFrame interface

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.


The IPreviewHandlerFrame interface has these methods.

Method Description
IPreviewHandlerFrame::GetWindowContext Gets a list of the keyboard shortcuts for the preview host.
IPreviewHandlerFrame::TranslateAccelerator Directs the host to handle an keyboard shortcut passed from the preview handler.


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.


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