Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WebBrowser Question
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01144970
Message ID:
01145215
Views:
17
Hi,

> Is there a Windows event that I can bind to that will tell me what the user did (print or cancel).

That's unlikely, even an undocumented one. The easiest way to prompt the user for a printer is the PrintDlg function. This functions returns true or false, depending on whether the user hit OK or Cancel. It's never posted back to the browser as a message, but a simple return value that can't be intercepted. All customization is done through a window procedure that is called directly everytime a message is sent.

If you need more control, you have to prompt the user and then find a way to print using the selected printer..
--
Christof
Previous
Reply
Map
View

Click here to load this message in the networking platform