Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DocumentProperties anyone?
Message
 
À
03/05/2005 15:38:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01010251
Message ID:
01010611
Vues:
42
>Quote from the site:
>"Or make this configuration as the default for this printer and for all applications using this printer. This procedure is !!! different !! for Windows NT/2000 or Windows 95/98:"
>
>
>yes it uses GetPrinter() .. but only on WinNt/2000/ .. on 95/98/ it uses DocumentProperties()
>

Yes, I realize this, but I didn't want to get into trying to create saved configurations. GetPrinter is a newer API that only works on NT and 2000. DocumentProperties works on all Windows platforms. Well, maybe not Windows 3, but we're not counting that. ;-)

>also the SendMessage() function at the bottom can be important ... maybe VFP caches Printer Settings somehow and the SendMessage forces VFP to reread the settings (one never knowns)
>

I'll look into this one. Thanks! I've seen a LOT of documentation on DocumentProperties, and this is the first time I've seen SendMessage() used.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform