DDX_ManagedControl
Creates a .NET control matching the control's resource ID.
template <typename T>
void DDX_ManagedControl(
CDataExchange* pDX,
int nIDC,
CWinFormsControl<T>& control
);
매개 변수
pDX
A pointer to a CDataExchange 클래스 object. The framework supplies this object to establish the context of the data exchange, including its direction.nIDC
The resource ID of the control associated with the control property.control
CWinFormsControl 클래스 개체에 대한 참조입니다.
설명
DDX_ManagedControl은 CWinFormsControl::CreateManagedControl을 호출하여 리소스 컨트롤 ID와 일치하는 컨트롤을 만듭니다. Use DDX_ManagedControl to create controls from resource IDs in CDialog::OnInitDialog. 데이터 교환의 경우 Windows Forms 컨트롤과 함께 DDX/DDV 함수를 사용할 필요가 없습니다.
자세한 내용은 방법: Windows Forms에서 DDX/DDV 데이터 바인딩 수행을 참조하십시오.
요구 사항
Header: afxwinforms.h