mirror of https://github.com/tongzx/nt5src
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.
64 lines
1.5 KiB
64 lines
1.5 KiB
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Copyright (C) 1998-2000 Microsoft Corporation
|
|
//
|
|
// Module Name:
|
|
// DDxDDv.h
|
|
//
|
|
// Description:
|
|
// Definition of custom dialog data exchange/dialog data validation
|
|
// routines.
|
|
//
|
|
// Implementation File:
|
|
// DDxDDv.cpp
|
|
//
|
|
// Maintained By:
|
|
// Galen Barbee (GalenB) Mmmm DD, 1998
|
|
//
|
|
// Revision History:
|
|
//
|
|
// Notes:
|
|
//
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
#ifndef _DDXDDV_H_
|
|
#define _DDXDDV_H_
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// Include Files
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// Global Function Prototypes
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
void AFXAPI DDX_Number(
|
|
IN OUT CDataExchange * pDX,
|
|
IN int nIDC,
|
|
IN OUT DWORD & rdwValue,
|
|
IN DWORD dwMin,
|
|
IN DWORD dwMax,
|
|
IN BOOL bSigned = FALSE
|
|
);
|
|
void AFXAPI DDV_RequiredText(
|
|
IN OUT CDataExchange * pDX,
|
|
IN int nIDC,
|
|
IN int nIDCLabel,
|
|
IN const CString & rstrValue
|
|
);
|
|
|
|
inline void AFXAPI DDX_Number(
|
|
IN OUT CDataExchange * pDX,
|
|
IN int nIDC,
|
|
IN OUT LONG & rnValue,
|
|
IN LONG nMin,
|
|
IN LONG nMax,
|
|
IN BOOL bSigned
|
|
)
|
|
{
|
|
DDX_Number(pDX, nIDC, (DWORD &) rnValue, (DWORD) nMin, (DWORD) nMax, bSigned);
|
|
}
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
#endif // _DDXDDV_H_
|