Using the common dialog (for printing)
Hello,
I have a dialog-based application and I would like to know how to use the common dialog for printing.
I've seen the example on this site, but I'm afraid I don't understand how to apply it to my program.
I'd like to be able to hit a button on my dialog, which would call up the common dialog for printing and then have it print the README.TXT file.
Any help would be greatly appreciated!
Thank you!
Matt
Re: Using the common dialog (for printing)
Hello!
Did you look at the article by Jeroen Clysse entitled "Printing a text buffer" in the "Printing" source code section? That article helped me quite a bit when trying to print from a dialog app. Try it and see what you think.
Re: Using the common dialog (for printing)
Bridge,
Thanks for the suggestion! I'll check it out!
Matt