DigiGuide Add-Ins Channel 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.


CHANNEL_MENU_ADDIN

The CHANNEL_MENU_ADDIN structure represents a command to be added to the popup menu for channels.

  typedef struct tagCHANNEL_MENU_ADDIN
  {
    UINT uiStructSize;
    char szCommandText[ MAX_COMMAND_TEXT ];
    BOOL bEnabled;
    fncChannelCommand pfncCommand;
  } CHANNEL_MENU_ADDIN, FAR * LPCHANNEL_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_CHANNEL* const pChannel and HWND hwndParent.