Windows C++ Library
Classes | Defines
CmdCtrl.hpp File Reference
#include "CmdBmp.hpp"

Classes

class  CCmdControl
struct  CCmdControl::CMD

Defines

#define DEFINE_CMD_TABLE   static CMD Cmds[] = {
#define CMD_ENTRY(cmd, cmdfn, uifn, idx)   CmdSingle, (cmd), (cmd), (PFNCMDHANDLER) (cmdfn), (PFNUIHANDLER) (uifn), (idx),
#define CMD_RANGE(cmd1, cmd2, cmdfn, uifn, idx)   CmdRange, (cmd1), (cmd2), (PFNCMDHANDLER) (cmdfn), (PFNUIHANDLER) (uifn), (idx),
#define END_CMD_TABLE

Define Documentation

#define DEFINE_CMD_TABLE   static CMD Cmds[] = {
#define CMD_ENTRY (   cmd,
  cmdfn,
  uifn,
  idx 
)    CmdSingle, (cmd), (cmd), (PFNCMDHANDLER) (cmdfn), (PFNUIHANDLER) (uifn), (idx),
#define CMD_RANGE (   cmd1,
  cmd2,
  cmdfn,
  uifn,
  idx 
)    CmdRange, (cmd1), (cmd2), (PFNCMDHANDLER) (cmdfn), (PFNUIHANDLER) (uifn), (idx),
#define END_CMD_TABLE
Value:
CmdNone,     0,      0,    (PFNCMDHANDLER)   0,     (PFNUIHANDLER)   0,      -1 }; \
                                            m_pCmdTable = Cmds;