LlRTFEditObject

Syntax:

INT LlRTFEditObject(HLLJOB hJob, HLLRTFOBJ hRTF, HWND hWnd, HDC hPrnDC, INT nProjectType, BOOL bModal);

Task:

Displays the RTF editor to the user. All variables and – in case of LL_PROJECT_LIST – all fields are available for use in expressions.

Parameter:

hJob: List & Label job handle

hRTF: RTF object handle

hWnd: Handle of parent window or host control

hPrnDC: Reference DC of the destination (usually a printer DC). Important for the choice of available fonts. Can be NULL, in which case the default printer is used.

nProjectType: Project type (LL_PROJECT_LABEL, LL_PROJECT_CARD or LL_PROJECT_LIST).

bModal: if TRUE, the dialog will be displayed modally. If FALSE, the control passed as hWnd will be replaced by the RTF control. Please note, that the window created by Visual C++ MFC is not suitable for the non-modal mode. We suggest using the RTF OCX control (cmll29r.ocx) instead.

Return Value:

Error code

See also:

LlRTFCreateObject