Kaya,
I do not understand what you are saying. Are you writing a program and you want people to be able to print with it, or is it a program that you are using wants you to print something. I was looking for code to make my program print, so if thats what your looking for, I will let you know if I find anything. If not, I will see what I can do.
hi, sorry for not making it clear. what i mean is i want to add a print function to my program, so that my program can print(say, maybe there is a button "print", once licked, it the printer will print something out).and in my case, it is very simple, i just want it to print a list in a dialog.
If I understand you right, you need to press PrintScreen key on the keyboard and paste the image in a word document or in a picture in paint.exe or AdobePhotoshop...
If you need to do it programatically you should get the DC of the dialog box, and use PutBlt or StrechBlt to the printer DC.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.