Click here to Skip to main content
15,884,986 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
hello guys,

Im newbie here ive been trying to search up every where on how to get control over a print button. But i cant seem to find out any where.
Well my point is just suppose i have to print a document from microsoft office or any program and i click print another print form will appear after hitting print from the default print form, and this print form will be my print form and after click yes and print from this form it will finally print.
Hope u guys get my point here :D
Posted
Comments
BacchusBeale 2-Jun-14 15:55pm    
Are you using Microsoft Office Tools SDK to make an add-in?

Newbie you say? Good luck with this one. It's a very advanced topic you're talking about and documentation and examples are very sparse on this topic. Replacing the Print dialog is just something that nobody does.

You're not getting control of a Print button. You're replacing the standard Windows Print dialog with your own.

Print Dialog box[^]

PrintHookProc function[^]
 
Share this answer
 
Lol i forgot programming and hope u get my point here.
the simple example is look at google chrome on print action
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900