Windows C++ Library
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
CDecimalBox Class Reference

#include <DecimalBox.hpp>

Inheritance diagram for CDecimalBox:
CEditBox CStdWnd CCtrlWnd CPopupWnd CMsgWnd CWnd

List of all members.

Public Types

enum  Flags { DEFAULTS = 0x00, NO_TRAIL_ZEROES = 0x01 }

Public Member Functions

 CDecimalBox (bool bSigned, uint nIntDigits, uint nDecDigits=0, uint nFlags=0x00)
 ~CDecimalBox ()
double RealValue () const
void RealValue (double dValue)
int IntValue () const
void IntValue (int nValue)

Protected Member Functions

virtual void OnCreate (const CRect &rcClient)
virtual bool FilterKey (tchar cChar)

Protected Attributes

bool m_bSigned
uint m_nIntDigits
uint m_nDecDigits
uint m_nMaxChars
uint m_nFlags

Member Enumeration Documentation

Enumerator:
DEFAULTS 
NO_TRAIL_ZEROES 

Constructor & Destructor Documentation

CDecimalBox::CDecimalBox ( bool  bSigned,
uint  nIntDigits,
uint  nDecDigits = 0,
uint  nFlags = 0x00 
)

Member Function Documentation

double CDecimalBox::RealValue ( ) const
void CDecimalBox::RealValue ( double  dValue)
int CDecimalBox::IntValue ( ) const
void CDecimalBox::IntValue ( int  nValue)
void CDecimalBox::OnCreate ( const CRect rcClient) [protected, virtual]

Reimplemented from CMsgWnd.

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

Reimplemented from CEditBox.


Member Data Documentation

bool CDecimalBox::m_bSigned [protected]
uint CDecimalBox::m_nIntDigits [protected]
uint CDecimalBox::m_nDecDigits [protected]
uint CDecimalBox::m_nMaxChars [protected]
uint CDecimalBox::m_nFlags [protected]

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