Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OCX and object property
Message
De
31/03/1998 19:16:36
 
 
À
31/03/1998 17:51:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00088535
Message ID:
00088561
Vues:
21
>I work on a list ocx control for VFP (too). I have no problem with it, except the OLE public properties. I can make simple type properties (like short, bool, string) and these works fine even with VFP :) But I have no idea how to implement object properties. I use VC++4.2 and I didnot find any documenation about it.

Use the project wizard to generate an OCX project. After that, use the wizard to add properties/methods. Don't even think about writing the ocx from start to end by hand. There's a lot to be known in order to do it properly and it's almost useless to do it this way (because the wizard is pretty good).

>(Except aggregate objects, but in this case the aggregate object is an OLE object and thus has to be registered. )

I'm not sure what you want to say here, but if it's ocx, than it's ole anyway.

BTW, don't use SHORT for properties, method returns or parameters. There are problems with this type from VFP.

Vlad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform