Windows C++ Library
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions
CEditBox Class Reference

#include <EditBox.hpp>

Inheritance diagram for CEditBox:
CStdWnd CCtrlWnd CPopupWnd CMsgWnd CWnd CDecimalBox CPathEditBox

List of all members.

Public Member Functions

 CEditBox ()
virtual ~CEditBox ()
void TextLimit (int iLimit) const
void ReadOnly (bool bReadOnly=true) const
void Select (size_t iFirstChar=0, size_t iLastChar=Core::npos) const
void Text (const tchar *pszText)
void Text (const tstring &strText)
void ReplaceSel (const tchar *pszText, bool bCanUndo=true)
void Append (const tchar *pszText)
void TabWidth (uint nWidth)
void Selected (int &nStart, int &nEnd) const
size_t TextLength () const
CString Text () const
void SetFilterDefault (bool bAllow)
void Filter (const tchar *pszFilter, bool bAllow=true)
void Filter (tchar cFilter, bool bAllow=true)

Protected Member Functions

virtual void GetCreateParams (WNDCREATE &rParams)
virtual LRESULT WndProc (HWND hWnd, UINT iMsg, WPARAM wParam, LPARAM lParam)
virtual void OnReflectedCtrlMsg (uint iMsg)
virtual bool FilterKey (tchar cChar)
void AllocFilterMap ()

Protected Attributes

bool * m_pFilter

Private Member Functions

 CEditBox (const CEditBox &)
CEditBoxoperator= (const CEditBox &)

Constructor & Destructor Documentation

CEditBox::~CEditBox ( ) [virtual]
CEditBox::CEditBox ( const CEditBox ) [private]

Member Function Documentation

void CEditBox::TextLimit ( int  iLimit) const [inline]
void CEditBox::ReadOnly ( bool  bReadOnly = true) const [inline]
void CEditBox::Select ( size_t  iFirstChar = 0,
size_t  iLastChar = Core::npos 
) const [inline]
void CEditBox::Text ( const tchar *  pszText) [inline]
void CEditBox::Text ( const tstring &  strText) [inline]
void CEditBox::ReplaceSel ( const tchar *  pszText,
bool  bCanUndo = true 
) [inline]
void CEditBox::Append ( const tchar *  pszText)
void CEditBox::TabWidth ( uint  nWidth) [inline]
void CEditBox::Selected ( int &  nStart,
int &  nEnd 
) const [inline]
size_t CEditBox::TextLength ( ) const [inline]
CString CEditBox::Text ( ) const [inline]
void CEditBox::SetFilterDefault ( bool  bAllow)
void CEditBox::Filter ( const tchar *  pszFilter,
bool  bAllow = true 
)
void CEditBox::Filter ( tchar  cFilter,
bool  bAllow = true 
)
void CEditBox::GetCreateParams ( WNDCREATE rParams) [protected, virtual]

Reimplemented from CCtrlWnd.

LRESULT CEditBox::WndProc ( HWND  hWnd,
UINT  iMsg,
WPARAM  wParam,
LPARAM  lParam 
) [protected, virtual]

Reimplemented from CStdWnd.

void CEditBox::OnReflectedCtrlMsg ( uint  iMsg) [protected, virtual]

Reimplemented from CMsgWnd.

bool CEditBox::FilterKey ( tchar  cChar) [protected, virtual]

Reimplemented in CDecimalBox.

void CEditBox::AllocFilterMap ( ) [protected]
CEditBox& CEditBox::operator= ( const CEditBox ) [private]

Member Data Documentation

bool* CEditBox::m_pFilter [protected]

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