ID_CreateView function

Function that creates a plug-in controlled window containing a view of an image file.

Syntax

PLUGIN_API int __stdcall ID_CreateView
(
   ID_CreateViewParam* pCVS
);

Parameters

pCVS

Type: ID_CreateViewParam*

[i/o] View creation parameters

Return Value

For a description of return values, see Return Values.

Remarks

Creates a plug-in-controlled window containing a view of an image file. The window should be created as a child window and should be initially non-visible (WS_VISIBLE flag unset). The child window should not use any borders, (i.e. do not use window styles, such as WS_BORDER or WS_EX_CLIENTEDGE).

Once created, the plug-in host application can perform the following operations on the window:

The FIF_VIEWINDOW flag must be included in ID_FormatInfo for those image formats where a View Window is supported by the plug-in.

Requirements

Header: ID_PlugIn.h

See also: