Syntax:
INT LlAssociatePreviewControl(HLLJOB hJob, HWND hWndControl, UINT nFlags);
Task:
Associates a LL job to a preview control.
Parameters:
hJob: List & Label job handle
hWnd: window handle
nFlags:
Value |
Meaning |
LL_ASSOCIATEPREVIEWCONTROLFLAG_DELETE_ON_CLOSE |
Automatically delete preview file when preview is closed |
LL__ASSOCIATEPREVIEWCONTROLFLAG_HANDLE_IS_ATTACHINFO |
Informs the API, that the passed window handle is a pointer to a structure containing drilldown information |
LL_ASSOCIATEPREVIEWCONTROLFLAG_PRV_REPLACE |
If LL_ASSOCIATEPREVIEWCONTROLFLAG_HANDLE_IS_ATTACHINFO is not set: the current preview will be replaced by this preview |
LL_ASSOCIATEPREVIEWCONTROLFLAG_PRV_ADD_TO_CONTROL_STACK |
If LL_ASSOCIATEPREVIEWCONTROLFLAG_HANDLE_IS_ATTACHINFO is not set: this preview is added to the current preview tab |
LL_ASSOCIATEPREVIEWCONTROLFLAG_PRV_ADD_TO_CONTROL_IN_TAB |
If LL_ASSOCIATEPREVIEWCONTROLFLAG_HANDLE_IS_ATTACHINFO is not set: this preview is added to the current preview window in a new tab |
If necessary combined with 'or'.
Return Value:
Error code
Hints:
See chapter Direct Print and Export From the Designer.
Example:
See chapter Direct Print and Export From the Designer.