Information générale
Catégorie:
Fonctions Windows API
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement