Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

OCX in VC.. Want to show the changes in property page on VB

Status
Not open for further replies.

hemantmadaan

Programmer
Mar 27, 2003
5
IN
Hi There,

I am developing an OCX in VC++ using MFC and added a custom property page on to that and want to exchange these properties with the control. With DoDataExchange of the property page I am able to get the properties from the control but nut the reverse, i.e., if I load the control onto a VB project and select to make changes in custom properties. It is showing the values similar to control properties in respective controls of the property page done with DoDataExchange. But when I make the changes in these properties and press apply or OK, my properties in the properties window do not get updated automatically.

Do I need to do something specific in this? Plz check and tell if I am missing some link in this?
 
I may not understand what your saying so i will just guess at this.

Property pages do not persist your values, you have to handle that yourself. The property pages are just a UI mechanism that allows the User to supply information. What your application does with the information is your responsibility.

-pete

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top