DigiGuide Addins Programme Menu

Copyright ©1999, 2000 GipsyMedia Limited. All rights reserved.
Please read our open source licence agreement.


Structures

Only ANSI is currently supported, UNICODE support will be added in the future.


PROGRAMME_MENU_ADDIN

The PROGRAMME_MENU_ADDIN structure represents a command to be added to the popup menu for programmes.

  typedef struct tagPROGRAMME_MENU_ADDIN
  {
    UINT uiStructSize;
    char szCommandText[ MAX_COMMAND_TEXT ];
    BOOL bEnabled;
    fncProgrammeCommand pfncCommand;
  } PROGRAMME_MENU_ADDIN, FAR * LPPROGRAMME_MENU_ADDIN;

Members

uiStructSize
Specifies the size of the structure in bytes.
szCommandText
Specifies the text to use on the popup menu for the command.
bEnabled
Specifies if the command is enabled or disabled.
pfncCommand
A pointer to the function which should be called when the command is chosen. The function returns void and takes two parameters const DGE_PROGRAMME* const pProgramme and HWND hwndParent.