Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I sub class the common dialog foundation class
Message
De
02/04/2004 18:17:39
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00891679
Message ID:
00891924
Vues:
22
This message has been marked as the solution to the initial question of the thread.
>Hi,
>
>I want to sub class the Microsoft common dialog control, so that I can changes some of the base class properties, such as INewExplorer, oChangeDir,INoNetworkButton etc. However, when I create my own class based on this class, I loose the methods to control the common dialog, such as showopen, showprinter, etc.
>
>Is it possible to subclass this control, if so, how do I do that without loosing the methods to control the control?
>
>Regards,
>
>Stuart

How are you subclassing it? If I subclass the CommonDialog control by dropping the original on a form, and then selecting it and Save as Class from the File menu into my own .VCX class library, I can drop my subclass on a form and do not lose those methods.

Fred
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform