Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using Common Dialog
Message
From
16/05/2002 18:07:55
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00657801
Message ID:
00657838
Views:
35
>>I need to use the Common Dialog to display the Printer Setup dialog. How do I detect if the user presses Cancel?
>
>You've to set CancelError=.T. and use error handler to capture error when Cancel button is clicked.

Thanks..

Next question, now that I've been playing with this a bit. If PrinterDefault = .T., the dialog changes the Windows default printer, which is not acceptable. I need to have PrinterDefault = .F. When I do that, how do I determine which printer the user selected?
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform