DVP_CreateViewer(
HWND:hWndParent,
LPRECT:lpRc,
DWORD:dwFlags
)
→ HWND
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.