home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / mfc / advanced / chkbook / dollcent.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-03-27  |  842 b   |  21 lines

  1. // dollcent.h: interface for DDX_DollarsCents
  2. //
  3. // This is a part of the Microsoft Foundation Classes C++ library.
  4. // Copyright (C) 1992-1998 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. // This source code is only intended as a supplement to the
  8. // Microsoft Foundation Classes Reference and related
  9. // electronic documentation provided with the library.
  10. // See these sources for detailed information regarding the
  11. // Microsoft Foundation Classes product.
  12.  
  13. #define INVALID_DOLLARS_CENTS 0xffffffff
  14.  
  15. void AFXAPI DDX_DollarsCents(CDataExchange* pDX, int nIDC, DWORD& dwCents);
  16. BOOL GetDollarsCents(CWnd* pWnd, DWORD& dwCents);
  17. BOOL GetDollarsCents(HWND hWnd, DWORD& dwCents);
  18. void SetDollarsCents(CWnd* pWnd, DWORD dwCents);
  19. CString GetDollarsCentsFormatted(DWORD dwCents);
  20. CString GetDollarsCentsText(DWORD dwCents);
  21.