LL_QUERY_DESIGNERACTIONSTATE

Task:

Via this callback List & Label checks the state of the user defined Actions (see LlDesignerAddAction()). You can then, depending on requirements, enable or disable the actions.

Activate:

Always active

Parameter:

HIWORD(lParam): the (user defined) ID for the action

LOWORD(lParam): Status setting as set by Designer

Return value (_lResult):

Value

Meaning

1

Action is active

2

Action is not active

 

Example:

case LL_­QUERY_­DESIGNERACTIONSTATE:
   _lResult = (bEnabled? 1 : 2);
   break;