Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VC6 VC7
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 25-Sep-10 3:09am
Edited 28-Sep-10 1:51am
v4

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

  Print Answers RSS
0 OriginalGriff 7,903
1 Sergey Alexandrovich Kryukov 7,142
2 DamithSL 5,604
3 Manas Bhardwaj 4,986
4 Maciej Los 4,820


Advertise | Privacy | Mobile
Web02 | 2.8.1411023.1 | Last Updated 28 Sep 2010
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100