Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DocumentProperties anyone?
Message
 
To
03/05/2005 15:38:26
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01010251
Message ID:
01010611
Views:
41
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform