Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

58 lines
2.9 KiB

  1. // Microsoft Foundation Classes C++ library.
  2. // Copyright (C) 1992-1993 Microsoft Corporation,
  3. // All rights reserved.
  4. // This source code is only intended as a supplement to the
  5. // Microsoft Foundation Classes Reference and Microsoft
  6. // QuickHelp and/or WinHelp documentation provided with the library.
  7. // See these sources for detailed information regarding the
  8. // Microsoft Foundation Classes product.
  9. // Do not include this file directly (included by AFXWIN.H)
  10. /////////////////////////////////////////////////////////////////////////////
  11. // Standard Dialog Data Exchange routines
  12. // simple text operations
  13. void AFXAPI DDX_Text(CDataExchange* pDX, int nIDC, BYTE& value);
  14. void AFXAPI DDX_Text(CDataExchange* pDX, int nIDC, int& value);
  15. void AFXAPI DDX_Text(CDataExchange* pDX, int nIDC, UINT& value);
  16. void AFXAPI DDX_Text(CDataExchange* pDX, int nIDC, long& value);
  17. void AFXAPI DDX_Text(CDataExchange* pDX, int nIDC, DWORD& value);
  18. void AFXAPI DDX_Text(CDataExchange* pDX, int nIDC, CString& value);
  19. void AFXAPI DDX_Text(CDataExchange* pDX, int nIDC, float& value);
  20. void AFXAPI DDX_Text(CDataExchange* pDX, int nIDC, double& value);
  21. // special control types
  22. void AFXAPI DDX_Check(CDataExchange* pDX, int nIDC, int& value);
  23. void AFXAPI DDX_Radio(CDataExchange* pDX, int nIDC, int& value);
  24. void AFXAPI DDX_LBString(CDataExchange* pDX, int nIDC, CString& value);
  25. void AFXAPI DDX_CBString(CDataExchange* pDX, int nIDC, CString& value);
  26. void AFXAPI DDX_LBIndex(CDataExchange* pDX, int nIDC, int& index);
  27. void AFXAPI DDX_CBIndex(CDataExchange* pDX, int nIDC, int& index);
  28. #if (WINVER >= 0x030a)
  29. void AFXAPI DDX_LBStringExact(CDataExchange* pDX, int nIDC, CString& value);
  30. void AFXAPI DDX_CBStringExact(CDataExchange* pDX, int nIDC, CString& value);
  31. #endif
  32. // for getting access to the actual controls
  33. void AFXAPI DDX_Control(CDataExchange* pDX, int nIDC, CWnd& rControl);
  34. /////////////////////////////////////////////////////////////////////////////
  35. // Standard Dialog Data Validation routines
  36. // range - value must be >= minVal and <= maxVal
  37. // NOTE: you will require casts for 'minVal' and 'maxVal' to use the
  38. // UINT, DWORD or float types
  39. void AFXAPI DDV_MinMaxByte(CDataExchange* pDX, BYTE value, BYTE minVal, BYTE maxVal);
  40. void AFXAPI DDV_MinMaxInt(CDataExchange* pDX, int value, int minVal, int maxVal);
  41. void AFXAPI DDV_MinMaxLong(CDataExchange* pDX, long value, long minVal, long maxVal);
  42. void AFXAPI DDV_MinMaxUInt(CDataExchange* pDX, UINT value, UINT minVal, UINT maxVal);
  43. void AFXAPI DDV_MinMaxDWord(CDataExchange* pDX, DWORD value, DWORD minVal, DWORD maxVal);
  44. void AFXAPI DDV_MinMaxFloat(CDataExchange* pDX, float const& value, float minVal, float maxVal);
  45. void AFXAPI DDV_MinMaxDouble(CDataExchange* pDX, double const& value, double minVal, double maxVal);
  46. // number of characters
  47. void AFXAPI DDV_MaxChars(CDataExchange* pDX, CString const& value, int nChars);
  48. /////////////////////////////////////////////////////////////////////////////