LL_CMND_SELECTMENU

Task:

Notification that a menu has been selected.

Activation:

Always activated.

Parameters:

lParam: Menu ID of the menu item (negative ID if called from a toolbar button!).

Return Value (_lResult):

TRUE, if List & Label shall not try to execute the command associated with the menu ID (usually if the menu item has been inserted by the application)
FALSE otherwise

Example:

case LL_CMND_SELECTMENU:
   if (lParam == IDM_MYMENU)
   {
      // execute custom code
      return (TRUE);
   }
   break;