DigiGuide Addins Programme Menu
Copyright ©1999, 2000 GipsyMedia Limited. All rights reserved.
When the user right-clicks a programme, if there is a function in your add-in OnPopupProgrammeMenuA then it will call this with two parameters, the first is a pointer to an array of PROGRAMME_MENU_ADDIN structures for you to fill in, the second is a pointer to a DGE_PROGRAMME structure containing details of the selected programme.
This function will be called twice, the first time the second parameter will be NULL, in this case the first parameter is a pointer to a UINT, set this to how many commands you want to add to the menu (including 0 if you don't want to add any commands). DigiGuide will then allocate an array of this many PROGRAMME_MENU_ADDIN structures and call the function a second time, this time you can fill in this array with details of the menu commands you want to add, including a pointer to the function in your addin to call when the command is chosen.