|
Windows C++ Library
|
#include <DecimalBox.hpp>
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 |
| enum CDecimalBox::Flags |
| CDecimalBox::CDecimalBox | ( | bool | bSigned, |
| uint | nIntDigits, | ||
| uint | nDecDigits = 0, |
||
| uint | nFlags = 0x00 |
||
| ) |
| 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.
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] |
1.7.6.1