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.
84 lines
4.6 KiB
84 lines
4.6 KiB
// This is a part of the Microsoft Foundation Classes C++ library.
|
|
// Copyright (C) 1992-1998 Microsoft Corporation
|
|
// All rights reserved.
|
|
//
|
|
// This source code is only intended as a supplement to the
|
|
// Microsoft Foundation Classes Reference and related
|
|
// electronic documentation provided with the library.
|
|
// See these sources for detailed information regarding the
|
|
// Microsoft Foundation Classes product.
|
|
|
|
// Do not include this file directly (included by AFXWIN.H)
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// Standard Dialog Data Exchange routines
|
|
|
|
class COleCurrency; // forward reference (see afxdisp.h)
|
|
class COleDateTime; // forward reference (see afxdisp.h)
|
|
|
|
// simple text operations
|
|
void AFXAPI DDX_Text(CDataExchange* pDX, int nIDC, BYTE& value);
|
|
void AFXAPI DDX_Text(CDataExchange* pDX, int nIDC, short& value);
|
|
void AFXAPI DDX_Text(CDataExchange* pDX, int nIDC, int& value);
|
|
void AFXAPI DDX_Text(CDataExchange* pDX, int nIDC, UINT& value);
|
|
void AFXAPI DDX_Text(CDataExchange* pDX, int nIDC, long& value);
|
|
void AFXAPI DDX_Text(CDataExchange* pDX, int nIDC, DWORD& value);
|
|
void AFXAPI DDX_Text(CDataExchange* pDX, int nIDC, CString& value);
|
|
#if _MFC_VER >= 0x0600
|
|
void AFXAPI DDX_Text(CDataExchange* pDX, int nIDC, LPTSTR value, int nMaxLen);
|
|
#endif
|
|
void AFXAPI DDX_Text(CDataExchange* pDX, int nIDC, float& value);
|
|
void AFXAPI DDX_Text(CDataExchange* pDX, int nIDC, double& value);
|
|
void AFXAPI DDX_Text(CDataExchange* pDX, int nIDC, COleCurrency& value);
|
|
void AFXAPI DDX_Text(CDataExchange* pDX, int nIDC, COleDateTime& value);
|
|
|
|
// special control types
|
|
void AFXAPI DDX_Check(CDataExchange* pDX, int nIDC, int& value);
|
|
void AFXAPI DDX_Radio(CDataExchange* pDX, int nIDC, int& value);
|
|
void AFXAPI DDX_LBString(CDataExchange* pDX, int nIDC, CString& value);
|
|
void AFXAPI DDX_CBString(CDataExchange* pDX, int nIDC, CString& value);
|
|
void AFXAPI DDX_LBIndex(CDataExchange* pDX, int nIDC, int& index);
|
|
void AFXAPI DDX_CBIndex(CDataExchange* pDX, int nIDC, int& index);
|
|
void AFXAPI DDX_LBStringExact(CDataExchange* pDX, int nIDC, CString& value);
|
|
void AFXAPI DDX_CBStringExact(CDataExchange* pDX, int nIDC, CString& value);
|
|
void AFXAPI DDX_Scroll(CDataExchange* pDX, int nIDC, int& value);
|
|
#if _MFC_VER >= 0x0600
|
|
void AFXAPI DDX_Slider(CDataExchange* pDX, int nIDC, int& value);
|
|
|
|
void AFXAPI DDX_MonthCalCtrl(CDataExchange* pDX, int nIDC, CTime& value);
|
|
void AFXAPI DDX_MonthCalCtrl(CDataExchange* pDX, int nIDC, COleDateTime& value);
|
|
void AFXAPI DDX_DateTimeCtrl(CDataExchange* pDX, int nIDC, CTime& value);
|
|
void AFXAPI DDX_DateTimeCtrl(CDataExchange* pDX, int nIDC, COleDateTime& value);
|
|
#endif
|
|
|
|
// for getting access to the actual controls
|
|
void AFXAPI DDX_Control(CDataExchange* pDX, int nIDC, CWnd& rControl);
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// Standard Dialog Data Validation routines
|
|
|
|
// range - value must be >= minVal and <= maxVal
|
|
// NOTE: you will require casts for 'minVal' and 'maxVal' to use the
|
|
// UINT, DWORD or float types
|
|
void AFXAPI DDV_MinMaxByte(CDataExchange* pDX, BYTE value, BYTE minVal, BYTE maxVal);
|
|
void AFXAPI DDV_MinMaxShort(CDataExchange* pDX, short value, short minVal, short maxVal);
|
|
void AFXAPI DDV_MinMaxInt(CDataExchange* pDX, int value, int minVal, int maxVal);
|
|
void AFXAPI DDV_MinMaxLong(CDataExchange* pDX, long value, long minVal, long maxVal);
|
|
void AFXAPI DDV_MinMaxUInt(CDataExchange* pDX, UINT value, UINT minVal, UINT maxVal);
|
|
void AFXAPI DDV_MinMaxDWord(CDataExchange* pDX, DWORD value, DWORD minVal, DWORD maxVal);
|
|
void AFXAPI DDV_MinMaxFloat(CDataExchange* pDX, float const& value, float minVal, float maxVal);
|
|
void AFXAPI DDV_MinMaxDouble(CDataExchange* pDX, double const& value, double minVal, double maxVal);
|
|
|
|
#if _MFC_VER >= 0x0600
|
|
// special control types
|
|
void AFXAPI DDV_MinMaxSlider(CDataExchange* pDX, DWORD value, DWORD minVal, DWORD maxVal);
|
|
void AFXAPI DDV_MinMaxDateTime(CDataExchange* pDX, CTime& refValue, const CTime* refMinRange, const CTime* refMaxRange);
|
|
void AFXAPI DDV_MinMaxDateTime(CDataExchange* pDX, COleDateTime& refValue, const COleDateTime* refMinRange, const COleDateTime* refMaxRange);
|
|
void AFXAPI DDV_MinMaxMonth(CDataExchange* pDX, CTime& refValue, const CTime* pMinRange, const CTime* pMaxRange);
|
|
void AFXAPI DDV_MinMaxMonth(CDataExchange* pDX, COleDateTime& refValue, const COleDateTime* refMinRange, const COleDateTime* refMaxRange);
|
|
#endif
|
|
|
|
// number of characters
|
|
void AFXAPI DDV_MaxChars(CDataExchange* pDX, CString const& value, int nChars);
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|