~~Title: DVP_CreateViewer~~ DVP_CreateViewer && HWND && The handle of the viewer window you created (see [[..:image_viewer_messages|Image Viewer messages]]). && hWndParent && HWND && This parameter specifies a parent window handle. You must create your image viewer window as a child of the window specified by this handle. && lpRc && LPRECT && This parameter specifies the coordinates that you should use to create your child window, relative to the supplied parent window. && dwFlags && DWORD && This parameter specifies various flags which describe how your viewer window should behave. The currently defined flags are: |DVPCVF_Border|This flag is set if your window should be created with a border (it is recommended that you use the **WS_EX_CLIENTEDGE** extended window style when creating your window if this flag is set)| |DVPCVF_Preview|This flag is set if your viewer is being created for use in the Lister Viewer Pane.| |DVPCVF_ReturnTabs|If this flag is set it indicates that information about the **Tab** key needs to be sent back to the parent window using a **NM_KEYDOWN** notification message.| The **DVP_CreateViewer** function is called to create a custom file viewer window. The **DVP_CreateViewer** exported function is used by Directory Opus to create your image viewer if you specify the **DVPFIF_CanReturnViewer** flag for a particular file.