Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
WebBrowser Question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01144970
Message ID:
01145215
Vues:
19
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform