Ok, I won't ask you (even though I already did <g>). Is there not a list of these events that MS publishes (or would that just make too much sense). I'll have to check out Spy++ . . .
Russell
>Russel,
>
>Visual Studio includes a utility called Spy++ you can run that lets you monitor all Window events that get raised. It's been in VS since days pimordial so you can find it all the way back to VS 6.0 or possibly even earlier.
>
>That may help, but there's a lot of events raised by the Web Browser control and it's hard to find the right ones. There are a number of WM_PRINT events that have to fire, but don't ask me which you need to listen for <g>...
>
>+++ Rick ---
>
>>I'm using the WebBrowser control on a VFP form. I allow the user to print by clicking a button on the form and I call the ExecWB method, using the parameters so that the user is prompted for the printer before printing. Is there a Windows event that I can bind to that will tell me what the user did (print or cancel). And what might be the best reference source for the many Windows events that exist?
>>
>>Russell Campbell