Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I sub class the common dialog foundation class
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00891679
Message ID:
00892609
Vues:
22
There are three possible reasons this isn't working:

* -- the timing of the changes you're trying to make

* -- the setting of SYS(2333)

* -- whether the specific properties you're trying to use actually work <g> or whether you'll have to the Flags property of the dialog instead.

YOu might want to take a look at the GetResourceLocation method of Cov_Engine, in the coverage files (XSOURCE.ZIP). That is the point at which Coverage decides (a) whether it's safe to use the common dialog or whether it needs to revert to native dialogs and (b) how to set all the options, re-set SYS(2333) if necessary, etc, if the common dialog is in use. It provides a good model for dynamic common dialog behavior.

There is one other contact point between cov_engine and the common dialog subclassed control(s) it uses -- the GetFontsFromUser -- but I gather you're interested in the filehandling specifically.

>L<
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform