Windows C++ Library
Classes | Public Member Functions | Protected Types | Protected Attributes | Private Member Functions
CCmdControl Class Reference

#include <CmdCtrl.hpp>

Inheritance diagram for CCmdControl:
CSDICmds

List of all members.

Classes

struct  CMD

Public Member Functions

 CCmdControl ()
virtual ~CCmdControl ()
CCmdBitmapCmdBitmap ()
virtual void Execute (uint iCmdID)
virtual void UpdateUI ()
virtual void DrawCmd (uint iCmdID, CDC &rDC, const CRect &rDst, bool bEnabled) const
virtual int CmdBmpIndex (uint iCmdID) const
virtual int CmdHintID (uint iCmdID) const
virtual int CmdToolTipID (uint iCmdID) const
virtual CString CmdHintStr (uint iCmdID) const
virtual CString CmdToolTipStr (uint iCmdID) const

Protected Types

enum  CmdType { CmdNone = 0, CmdSingle = 1, CmdRange = 2 }
typedef void(CCmdControl::* PFNCMDHANDLER )()
typedef void(CCmdControl::* PFNCMDENTRYHANDLER )()
typedef void(CCmdControl::* PFNCMDRANGEHANDLER )(uint iCmdID)
typedef void(CCmdControl::* PFNUIHANDLER )()

Protected Attributes

CMDm_pCmdTable
CCmdBitmap m_CmdBitmap

Private Member Functions

 CCmdControl (const CCmdControl &)
CCmdControloperator= (const CCmdControl &)

Member Typedef Documentation

typedef void(CCmdControl::* CCmdControl::PFNCMDHANDLER)() [protected]
typedef void(CCmdControl::* CCmdControl::PFNCMDENTRYHANDLER)() [protected]
typedef void(CCmdControl::* CCmdControl::PFNCMDRANGEHANDLER)(uint iCmdID) [protected]
typedef void(CCmdControl::* CCmdControl::PFNUIHANDLER)() [protected]

Member Enumeration Documentation

enum CCmdControl::CmdType [protected]
Enumerator:
CmdNone 
CmdSingle 
CmdRange 

Constructor & Destructor Documentation

CCmdControl::CCmdControl ( const CCmdControl ) [private]

Member Function Documentation

void CCmdControl::Execute ( uint  iCmdID) [virtual]
void CCmdControl::UpdateUI ( ) [virtual]
void CCmdControl::DrawCmd ( uint  iCmdID,
CDC rDC,
const CRect rDst,
bool  bEnabled 
) const [virtual]
int CCmdControl::CmdBmpIndex ( uint  iCmdID) const [virtual]
int CCmdControl::CmdHintID ( uint  iCmdID) const [virtual]
int CCmdControl::CmdToolTipID ( uint  iCmdID) const [virtual]
CString CCmdControl::CmdHintStr ( uint  iCmdID) const [virtual]
CString CCmdControl::CmdToolTipStr ( uint  iCmdID) const [virtual]
CCmdControl& CCmdControl::operator= ( const CCmdControl ) [private]

Member Data Documentation


The documentation for this class was generated from the following files: