>>>Yes, the user clicks on the Print button, then the printer dialog is displayed and when the user clicks on the Print button on this dialog the PrintingBegin event occurs. I can hook into this, but if I display the dialog here, it displays before the spooler has started and the spooler won't start until the dialog is closed.
>>
>>have not done this, but can't you poll print queue via spooler API ? Printer dialogue does that, so get before print button and timer fired after and compare to decide on setting your flag.
>
>Hmm, no idea how to do this. I've found this info:
>
>
http://msdn.microsoft.com/en-us/library/windows/desktop/dd162861(v=vs.85).aspx>
>But nothing jumps out at me saying "USE ME" :)
http://social.msdn.microsoft.com/Forums/en-US/Vsexpressvcs/thread/e17ad329-2929-4861-b7f4-ce5c3ca55056/might help... As I said, no personal experience, only conversation memorized.
on something jumping out saying "USE ME", on Trinidad that should be more common than over here.
[made me read the link as vSexpressvcs...]