LL_CMND_MODIFYMENU

Task:

Allows the application to modify List & Label's menu. This callback is supported for reasons of compatability, to extend the Designer the use of LlDesignerAddAction() is recommended.

Activation:

Always activated

Parameters:

Meaning of the parameter lParam:

lParam: menu handle

Return Value:

Ignored, always 0

Hints:

This function is called when List & Label created its menu. The application can add or delete menu items.

The IDs of the menu items in List & Label can be found in the file MenuID.txt of your List & Label installation. User-defined menus should use IDs above 10100.

This callback is only included for compatibility reasons, to expand the Designer preferably use LlDesignerAddAction().

 

Example:

case LL_CMND_MODIFYMENU:
   DeleteMenu(_hMenu, IDM_HELP_CONTENTS, MF_BYCOMMAND);
   DeleteMenu(_hMenu, IDM_HELP_INDEX, MF_BYCOMMAND);               DeleteMenu(_hMenu, IDM_HELP_HELPONHELP, MF_BYCOMMAND);
   break;