Click here to Skip to main content
15,883,901 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hi,
I developed a custom MFC activex control with a combo box control in property sheet.

I just add combobox control in the property page file's resource view and
I am using the following code in activex control propertypage file.

DDP_CBString(pDX, IDC_COMBO1, m_Name, _T("Name"));
DDX_CBString(pDX, IDC_COMBO1, m_Name);


Name is a CString property of the custom MFC activex control.
m_Name is a CString member variable for thc combobox control.

It will work correctly in the custom MFC activex control.

But it will not work properly in MFC application.when i insert that activex control in MFC application and go to the property view of that custom activex control. just i want to select the combo box control and change the value of the property in the property sheet of that control.

can any one tell me the proper way to develop the activex control with changing a value using combo box control in the property sheet .
Posted
Updated 28-Sep-10 0:51am
v4

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900