Hey,I am trying to implement the Preview Pane from explorer into my .net application. I have followed http://msdn.microsoft.com/msdnmag/issues/07/01/PreviewHandlers/default.aspx and gotten almost all handlers to work except the preview handler for Outlook email.I lookup the correct CLSID in registry and uses the Activator to create an instance. Wich allso works perfect and it for all other Preview Handler, it also casts well to IPreviewHandler. But unlike other Preview Handlers, i am not able to cast it to one of the two interfaces mentioned by Microsoft IInitializeWithFile or IInitializeWithStream, which are used for loading the file into the preview handler. Do anyone know of another interface used to load files i Preview Handlers?
void SetWindow(IntPtr hwnd, ref RECT rect);
void SetRect(ref RECT rect);
void QueryFocus(out IntPtr phwnd);
uint TranslateAccelerator(ref MSG pmsg);
void Initialize([MarshalAs(UnmanagedType.LPWStr)] string pszFilePath, uint grfMode);
View Complete Post