LlSetNotificationMessage

Syntax:

UINT LlSetNotificationMessage (HLLJOB hJob, UINT nMessage);

Task:

Definition of a message number which differs from the presetting for callback (USER) objects.

Parameter:

hJob: List & Label job handle

nMessage: The new message number

Return Value:

Error code

Hints:

The default message number has the value of the function RegisterWindowMessage("cmbtLLMessage").

The callback function has higher priority; if this is defined, no message is sent.

The definition of the parameter nFunction and lParam can be found in chapter Callbacks and Notifications.

Example:

HLLJOB hJob;
unsigned int    wMsg;

LlSetDebug(TRUE);
hJob = LlJobOpen(0);
v = LlSetNotificationMessage(hJob, WM_USER + 1);
// ....
LlJobClose(hJob);

See also:

LlGetNotificationMessage, LlSetNotificationCallback