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

#include <PropTreeItemCombo.h>

Inheritance diagram for CPropTreeItemCombo:
CPropTreeItem

Public Member Functions

 CPropTreeItemCombo ()
 
virtual ~CPropTreeItemCombo ()
 
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 CreateComboBox (DWORD dwStyle=WS_CHILD|WS_VSCROLL|CBS_SORT|CBS_DROPDOWNLIST)
 
BOOL CreateComboBoxBool ()
 
void SetDropDownHeight (LONG nDropHeight)
 
LONG GetDropDownHeight ()
 
- 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 Member Functions

LONG FindCBData (LPARAM lParam)
 
afx_msg void OnSelchange ()
 
afx_msg void OnKillfocus ()
 

Protected Attributes

LPARAM m_lComboData
 
LONG m_nDropHeight
 
- 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 30 of file PropTreeItemCombo.h.

Constructor & Destructor Documentation

CPropTreeItemCombo::CPropTreeItemCombo ( )

Definition at line 39 of file PropTreeItemCombo.cpp.

CPropTreeItemCombo::~CPropTreeItemCombo ( )
virtual

Definition at line 45 of file PropTreeItemCombo.cpp.

Member Function Documentation

BOOL CPropTreeItemCombo::CreateComboBox ( DWORD  dwStyle = WS_CHILD|WS_VSCROLL|CBS_SORT|CBS_DROPDOWNLIST)

Definition at line 142 of file PropTreeItemCombo.cpp.

BOOL CPropTreeItemCombo::CreateComboBoxBool ( )

Definition at line 164 of file PropTreeItemCombo.cpp.

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

Reimplemented from CPropTreeItem.

Definition at line 60 of file PropTreeItemCombo.cpp.

LONG CPropTreeItemCombo::FindCBData ( LPARAM  lParam)
protected

Definition at line 198 of file PropTreeItemCombo.cpp.

LONG CPropTreeItemCombo::GetDropDownHeight ( )

Definition at line 230 of file PropTreeItemCombo.cpp.

LPARAM CPropTreeItemCombo::GetItemValue ( )
virtual

Reimplemented from CPropTreeItem.

Definition at line 88 of file PropTreeItemCombo.cpp.

void CPropTreeItemCombo::OnActivate ( int  activateType,
CPoint  point 
)
virtual

Reimplemented from CPropTreeItem.

Definition at line 131 of file PropTreeItemCombo.cpp.

void CPropTreeItemCombo::OnCommit ( )
virtual

Reimplemented from CPropTreeItem.

Definition at line 117 of file PropTreeItemCombo.cpp.

void CPropTreeItemCombo::OnKillfocus ( )
protected

Definition at line 218 of file PropTreeItemCombo.cpp.

void CPropTreeItemCombo::OnMove ( )
virtual

Reimplemented from CPropTreeItem.

Definition at line 101 of file PropTreeItemCombo.cpp.

void CPropTreeItemCombo::OnRefresh ( )
virtual

Reimplemented from CPropTreeItem.

Definition at line 108 of file PropTreeItemCombo.cpp.

void CPropTreeItemCombo::OnSelchange ( )
protected

Definition at line 212 of file PropTreeItemCombo.cpp.

void CPropTreeItemCombo::SetDropDownHeight ( LONG  nDropHeight)

Definition at line 224 of file PropTreeItemCombo.cpp.

void CPropTreeItemCombo::SetItemValue ( LPARAM  lParam)
virtual

Reimplemented from CPropTreeItem.

Definition at line 94 of file PropTreeItemCombo.cpp.

Member Data Documentation

LPARAM CPropTreeItemCombo::m_lComboData
protected

Definition at line 73 of file PropTreeItemCombo.h.

LONG CPropTreeItemCombo::m_nDropHeight
protected

Definition at line 74 of file PropTreeItemCombo.h.


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