Hi

In MFC we can make relation/connection between "controls which are on property pages" and "properties in IDL" with these functions and macros:
Code:
//these are written in Activex controls cpp file
	PX_Bool(pPX,_T("ShowGrid"),m_showGrid,FALSE);
	PX_Bool(pPX,_T("ShowGrid"),m_xLog,FALSE);

and
//these are written Property page cpp file
	DDP_Check(pDX, IDC_CHECK1, m_bShowGrid, _T("ShowGrid") );
	DDX_Check(pDX, IDC_CHECK1, m_bShowGrid);
	DDP_Check(pDX, IDC_CHECK2, m_xLog, _T("XLog") );
	DDX_Check(pDX, IDC_CHECK2, m_xLog);
Full source: http://www.codeguru.com/cpp/com-tech/activex/controls/article.php/c5517/
So, connection between activex control and property page is established.

What are the similar macros in ATL?