doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Attributes | List of all members
CPropTreeItemCheck Class Reference

#include <PropTreeItemCheck.h>

Inheritance diagram for CPropTreeItemCheck:
CPropTreeItem

Public Member Functions

 CPropTreeItemCheck ()
 
virtual ~CPropTreeItemCheck ()
 
virtual void DrawAttribute (CDC *pDC, const RECT &rc)
 
virtual LPARAM GetItemValue ()
 
virtual void SetItemValue (LPARAM lParam)
 
virtual void OnMove ()
 
virtual void OnRefresh ()
 
virtual void OnCommit ()
 
virtual void OnActivate (int activateType, CPoint point)
 
bool HitCheckBoxTest (const POINT &pt)
 
bool CreateCheckBox ()
 
BOOL GetCheckState ()
 
void SetCheckState (BOOL state)
 
afx_msg void OnBnKillfocus ()
 
afx_msg void OnBnClicked ()
 
- Public Member Functions inherited from CPropTreeItem
 CPropTreeItem ()
 
virtual ~CPropTreeItem ()
 
BOOL IsExpanded ()
 
BOOL IsSelected ()
 
BOOL IsChecked ()
 
BOOL IsReadOnly ()
 
BOOL IsActivated ()
 
void Select (BOOL bSelect=TRUE)
 
void Expand (BOOL bExpand=TRUE)
 
void Check (BOOL bCheck=TRUE)
 
void ReadOnly (BOOL bReadOnly=TRUE)
 
BOOL IsCheckBox ()
 
void HasCheckBox (BOOL bCheckbox=TRUE)
 
BOOL HitExpand (const POINT &pt)
 
BOOL HitCheckBox (const POINT &pt)
 
virtual BOOL HitButton (const POINT &pt)
 
BOOL IsRootLevel ()
 
LONG GetTotalHeight ()
 
void SetLabelText (LPCTSTR sLabel)
 
LPCTSTR GetLabelText ()
 
void SetInfoText (LPCTSTR sInfo)
 
LPCTSTR GetInfoText ()
 
void SetCtrlID (UINT nCtrlID)
 
UINT GetCtrlID ()
 
virtual LONG DrawItem (CDC *pDC, const RECT &rc, LONG x, LONG y)
 
void CommitChanges ()
 
void Activate (int activateType, CPoint point)
 
virtual LONG GetHeight ()
 
void SetPropOwner (CPropTree *pProp)
 
const POINTGetLocation ()
 
CPropTreeItemGetParent ()
 
CPropTreeItemGetSibling ()
 
CPropTreeItemGetChild ()
 
CPropTreeItemGetNextVisible ()
 
void SetParent (CPropTreeItem *pParent)
 
void SetSibling (CPropTreeItem *pSibling)
 
void SetChild (CPropTreeItem *pChild)
 
void SetNextVisible (CPropTreeItem *pVis)
 

Protected Attributes

BOOL checkState
 
CRect checkRect
 
- Protected Attributes inherited from CPropTreeItem
CPropTreem_pProp
 
CString m_sLabel
 
CString m_sInfo
 
CPoint m_loc
 
CRect m_rc
 
LPARAM m_lParam
 
UINT m_nCtrlID
 
DWORD m_dwState
 
BOOL m_bActivated
 
BOOL m_bCommitOnce
 
CRect m_rcExpand
 
CRect m_rcCheckbox
 
CRect m_rcButton
 
CPropTreeItemm_pParent
 
CPropTreeItemm_pSibling
 
CPropTreeItemm_pChild
 
CPropTreeItemm_pVis
 

Additional Inherited Members

- Public Types inherited from CPropTreeItem
enum  { ACTIVATE_TYPE_KEYBOARD, ACTIVATE_TYPE_MOUSE }
 
- Protected Types inherited from CPropTreeItem
enum  TreeItemStates {
  TreeItemSelected = 0x00000001, TreeItemExpanded = 0x00000002, TreeItemCheckbox = 0x00000004, TreeItemChecked = 0x00000008,
  TreeItemActivated = 0x00000010, TreeItemReadOnly = 0x00000020
}
 

Detailed Description

Definition at line 26 of file PropTreeItemCheck.h.

Constructor & Destructor Documentation

CPropTreeItemCheck::CPropTreeItemCheck ( )

Definition at line 37 of file PropTreeItemCheck.cpp.

CPropTreeItemCheck::~CPropTreeItemCheck ( )
virtual

Definition at line 42 of file PropTreeItemCheck.cpp.

Member Function Documentation

bool CPropTreeItemCheck::CreateCheckBox ( )

Definition at line 133 of file PropTreeItemCheck.cpp.

void CPropTreeItemCheck::DrawAttribute ( CDC *  pDC,
const RECT &  rc 
)
virtual

Reimplemented from CPropTreeItem.

Definition at line 57 of file PropTreeItemCheck.cpp.

BOOL CPropTreeItemCheck::GetCheckState ( )
inline

Definition at line 60 of file PropTreeItemCheck.h.

LPARAM CPropTreeItemCheck::GetItemValue ( )
virtual

Reimplemented from CPropTreeItem.

Definition at line 85 of file PropTreeItemCheck.cpp.

bool CPropTreeItemCheck::HitCheckBoxTest ( const POINT pt)
void CPropTreeItemCheck::OnActivate ( int  activateType,
CPoint  point 
)
virtual

Reimplemented from CPropTreeItem.

Definition at line 115 of file PropTreeItemCheck.cpp.

void CPropTreeItemCheck::OnBnClicked ( )

Definition at line 155 of file PropTreeItemCheck.cpp.

void CPropTreeItemCheck::OnBnKillfocus ( )

Definition at line 150 of file PropTreeItemCheck.cpp.

void CPropTreeItemCheck::OnCommit ( )
virtual

Reimplemented from CPropTreeItem.

Definition at line 109 of file PropTreeItemCheck.cpp.

void CPropTreeItemCheck::OnMove ( )
virtual

Reimplemented from CPropTreeItem.

Definition at line 97 of file PropTreeItemCheck.cpp.

void CPropTreeItemCheck::OnRefresh ( )
virtual

Reimplemented from CPropTreeItem.

Definition at line 104 of file PropTreeItemCheck.cpp.

void CPropTreeItemCheck::SetCheckState ( BOOL  state)

Definition at line 77 of file PropTreeItemCheck.cpp.

void CPropTreeItemCheck::SetItemValue ( LPARAM  lParam)
virtual

Reimplemented from CPropTreeItem.

Definition at line 91 of file PropTreeItemCheck.cpp.

Member Data Documentation

CRect CPropTreeItemCheck::checkRect
protected

Definition at line 66 of file PropTreeItemCheck.h.

BOOL CPropTreeItemCheck::checkState
protected

Definition at line 65 of file PropTreeItemCheck.h.


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