Hook Print Dialog in Word
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
I am using a system wide hookapi DLL which hooks StartDocA, StartDocW, EndDoc, PrintDlgExA, PrintDlgExW the latter so I can obtain number of copies, page range etc. My hook DLL works for NotePad, WordPad etc but the problem I have is Word (and I presume the other Office applications) do not appear to use PrintDlgA, PrintDlgW, or the Ex versions to display their Print dialogs and hence I cannot obtain the number of copies, page range etc. Does anyone know which API Word is using to display the Print dialog ? Thanks in advance :confused: